Security analysis tool for EVM bytecode. Supports smart contracts built for Ethereum, Hedera, Quorum, Vechain, Roostock, Tron and other EVM-compatible blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mythril/.circleci/config.yml

67 lines
1.6 KiB

version: 2
jobs:
# Basic testing of a new commit to any branch.
test:
docker:
- image: birdofpreyru/mythril:0.0.1
7 years ago
steps:
7 years ago
- checkout:
path: /home/mythril
7 years ago
# Uncomment, for local testing with circleci command, as it ignores
# path param in checkout command, and this symlink compenstates for that.
# - run: ln -s /root/project /home/mythril
7 years ago
- run:
name: Installing mythril tools
command: cd /home && ./install-mythril-tools.sh laser-ethereum
7 years ago
- run:
name: Install dependencies, in case any are missing in Docker image
command: pip3 install -r /home/mythril/requirements.txt
7 years ago
- run:
background: true
name: Launch of background geth instance
command: geth --syncmode full --rpc --shh
- run:
name: Unit-testing
7 years ago
command: cd /home/mythril && ./all_tests.sh
- run:
name: Ensuring that setup script is functional
command: cd /home/mythril && python3 setup.py install
deploy:
docker:
- image: birdofpreyru/mythril:0.0.1
steps:
- checkout:
path: /home/mythril
- run:
name: Build
command: cd /home/mythril && python3 setup.py sdist
- run:
name: Deploy
command: cd /home/mythril && twine upload dist/*
workflows:
version: 2
build:
jobs:
7 years ago
- test:
filters:
tags:
only: /.*/
- deploy:
filters:
7 years ago
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*/
requires:
- test