Last active
June 20, 2016 17:45
-
-
Save ulope/90ba9412f0062a1409ccbdc5c88080f6 to your computer and use it in GitHub Desktop.
ethereum tox & travis config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: python | |
python: 3.5 | |
sudo: required | |
dist: trusty | |
before_install: | |
- sudo add-apt-repository -y ppa:ethereum/ethereum | |
- sudo apt-get update | |
- sudo apt-get install -y solc | |
env: | |
matrix: | |
- TOX_ENV=py27 | |
- TOX_ENV=py34 | |
- TOX_ENV=py35 | |
global: | |
secure: cKbIgpTJ1yjKLBxpCEiT6IH7NShDWZUE+BvnrAfc+ujCsR6LyLJcKxFQmKnWryJCqg7fp82Ep2bF2oDKzanAROar2xDY1SFGbai42seYMaFCw53YPGJ6u3VNCcfT0rN9BWgE7el/m4fjcD6CRsZYKArNNJbMX8csRt3uXXCFLso= | |
install: | |
- "travis_retry pip install setuptools --upgrade" | |
- "travis_retry pip install tox" | |
script: | |
- tox -e $TOX_ENV -- --ignore ethereum/tests/test_vm.py --ignore ethereum/tests/test_state.py | |
- tox -e $TOX_ENV -- ethereum/tests/test_vm.py | |
- tox -e $TOX_ENV -- ethereum/tests/test_state.py | |
- tox -e coverage | |
after_success: | |
- coveralls | |
after_script: | |
- cat .tox/$TOX_ENV/log/*.log | |
notifications: | |
slack: | |
secure: W/UAhQ/GgYwMWrl3aiVAVOWr4WGdWrxUOX/rTB3ZgwDwGqDYLzQO5UqbsQlo1JXPZ6JOWfIPMURhHu7DSfue9dBW6xQ+NL+bFHe9lSXG4nqFK3IjezYyTBzNRJRDbGUvSSqgj6D5cwhJ8BjfUIRPbJz3CxL64KmsNXezEaMY60w= | |
deploy: | |
provider: pypi | |
user: ethereum_pypi_automated | |
password: | |
secure: FvkEn1xULi9mGxAL9sKlTuxJZvk0Uyd2GaDPAHN5ZAfaJUNwzA6+m7PRAMPd44Uy/LOw0+Ah9X1rxAxZc+7yx+FJjwH1Nl8MjtqYTWp+Ue6TFUNdJXNHjekC5ce4rbULudrqlmwmaWzi5iRC7qhpxuTg1y3iBw3Fsd8E82qbDac= | |
on: | |
tags: true | |
repo: ethereum/pyethereum | |
branch: develop | |
after_deploy: | |
- ./.release_notify.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tox] | |
envlist = | |
covclean, | |
py27, | |
py34, | |
py35, | |
coverage | |
[testenv] | |
commands = | |
coverage run --source ethereum --branch --parallel -m py.test {posargs} | |
deps = | |
coverage>=4.0.3 | |
-r{toxinidir}/dev_requirements.txt | |
[testenv:covclean] | |
skip_install = True | |
deps = | |
coverage>=4.0.3 | |
commands = | |
coverage erase | |
[testenv:coverage] | |
skip_install = True | |
deps = | |
coverage>=4.0.3 | |
commands = | |
coverage combine | |
coverage report --show-missing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment