This repository was archived by the owner on May 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 12
12
- TOX_ENV=py34
13
13
- TOX_ENV=py35
14
14
global :
15
- secure : cKbIgpTJ1yjKLBxpCEiT6IH7NShDWZUE+BvnrAfc+ujCsR6LyLJcKxFQmKnWryJCqg7fp82Ep2bF2oDKzanAROar2xDY1SFGbai42seYMaFCw53YPGJ6u3VNCcfT0rN9BWgE7el/m4fjcD6CRsZYKArNNJbMX8csRt3uXXCFLso=
15
+ - COVERAGE_APPEND="--append"
16
+ - secure : cKbIgpTJ1yjKLBxpCEiT6IH7NShDWZUE+BvnrAfc+ujCsR6LyLJcKxFQmKnWryJCqg7fp82Ep2bF2oDKzanAROar2xDY1SFGbai42seYMaFCw53YPGJ6u3VNCcfT0rN9BWgE7el/m4fjcD6CRsZYKArNNJbMX8csRt3uXXCFLso=
16
17
install :
17
- - " travis_retry pip install setuptools --upgrade"
18
- - " travis_retry pip install tox"
18
+ - travis_retry pip install setuptools --upgrade
19
+ - travis_retry pip install tox
20
+ - travis_retry pip install coverage
19
21
script :
20
- - coverage run --source ethereum -m py.test --ignore ethereum/tests/test_vm.py --ignore ethereum/tests/test_state.py
21
- - coverage run --append --source ethereum -m py.test ethereum/tests/test_vm.py
22
- - coverage run --append --source ethereum -m py.test ethereum/tests/test_state.py
22
+ - if [ -d ".tox/$TOX_ENV/" ]; then cd ".tox/$TOX_ENV" && coverage erase"; fi;
23
+ - tox -e $TOX_ENV --ignore ethereum/tests/test_vm.py --ignore ethereum/tests/test_state.py
24
+ - tox -e $TOX_ENV ethereum/tests/test_vm.py
25
+ - tox -e $TOX_ENV ethereum/tests/test_state.py
26
+ - cd .tox/$TOX_ENV && coverage report --show-missing
23
27
script :
24
28
- tox -e $TOX_ENV
25
29
after_success :
26
- - coveralls
30
+ - travis_retry pip install coveralls
31
+ - cd .tox/$TOX_ENV && coveralls
27
32
after_script :
28
33
- cat .tox/$TOX_ENV/log/*.log
29
34
notifications :
Original file line number Diff line number Diff line change @@ -6,10 +6,7 @@ envlist =
6
6
7
7
[testenv]
8
8
commands =
9
- coverage run --source ethereum -m py.test --ignore ethereum/tests/test_vm.py --ignore ethereum/tests/test_state.py
10
- coverage run --append --source ethereum -m py.test ethereum/tests/test_vm.py
11
- coverage run --append --source ethereum -m py.test ethereum/tests/test_state.py
12
- coverage report --show-missing
9
+ coverage run {env:COVERAGE_APPEND:} --source ethereum -m py.test {posargs}
13
10
deps =
14
11
coverage
15
12
-r{toxinidir}/dev_requirements.txt
You can’t perform that action at this time.
0 commit comments