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

61 lines
1.5 KiB

version: 2
jobs:
# Basic testing of a new commit to any branch.
test:
docker:
- image: birdofpreyru/mythril:0.0.1
steps:
- checkout:
path: /home/mythril
# 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
- run:
name: Installing mythril tools
command: cd /home && ./install-mythril-tools.sh laser-ethereum
- run:
name: Install dependencies, in case any are missing in Docker image
command: pip3 install -r /home/mythril/requirements.txt
- run:
background: true
name: Launch of background geth instance
command: geth --syncmode full --rpc --shh
- run:
name: Unit-testing
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:
- test
- deploy:
filters:
only:
tags: /v[0-9]+(\.[0-9]+)*/
requires:
- test