This repository was archived by the owner on May 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +31
-21
lines changed Expand file tree Collapse file tree 3 files changed +31
-21
lines changed Original file line number Diff line number Diff line change 9
9
*/ethereum/fastvm.py
10
10
*/ethereum/spv.py
11
11
12
- [report]
13
12
exclude_lines =
14
13
pragma: no cover
15
14
def __repr__
Original file line number Diff line number Diff line change 1
1
language : python
2
- python : 2.7
2
+ python : 3.5
3
3
sudo : required
4
4
dist : trusty
5
5
before_install :
@@ -9,17 +9,26 @@ before_install:
9
9
env :
10
10
matrix :
11
11
- TOX_ENV=py27
12
+ - TOX_ENV=py34
13
+ - TOX_ENV=py35
12
14
global :
13
- secure : cKbIgpTJ1yjKLBxpCEiT6IH7NShDWZUE+BvnrAfc+ujCsR6LyLJcKxFQmKnWryJCqg7fp82Ep2bF2oDKzanAROar2xDY1SFGbai42seYMaFCw53YPGJ6u3VNCcfT0rN9BWgE7el/m4fjcD6CRsZYKArNNJbMX8csRt3uXXCFLso=
15
+ - COVERAGE_APPEND="--append"
16
+ - secure : cKbIgpTJ1yjKLBxpCEiT6IH7NShDWZUE+BvnrAfc+ujCsR6LyLJcKxFQmKnWryJCqg7fp82Ep2bF2oDKzanAROar2xDY1SFGbai42seYMaFCw53YPGJ6u3VNCcfT0rN9BWgE7el/m4fjcD6CRsZYKArNNJbMX8csRt3uXXCFLso=
14
17
install :
15
- - pip install -Ur requirements.txt
16
- - pip install -Ur dev_requirements.txt
18
+ - travis_retry pip install setuptools --upgrade
19
+ - travis_retry pip install tox
20
+ - travis_retry pip install coverage
17
21
script :
18
- - coverage run --source ethereum -m py.test --ignore ethereum/tests/test_vm.py --ignore ethereum/tests/test_state.py
19
- - coverage run --append --source ethereum -m py.test ethereum/tests/test_vm.py
20
- - 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
21
27
after_success :
22
- - coveralls
28
+ - travis_retry pip install coveralls
29
+ - cd .tox/$TOX_ENV && coveralls
30
+ after_script :
31
+ - cat .tox/$TOX_ENV/log/*.log
23
32
notifications :
24
33
slack :
25
34
secure : W/UAhQ/GgYwMWrl3aiVAVOWr4WGdWrxUOX/rTB3ZgwDwGqDYLzQO5UqbsQlo1JXPZ6JOWfIPMURhHu7DSfue9dBW6xQ+NL+bFHe9lSXG4nqFK3IjezYyTBzNRJRDbGUvSSqgj6D5cwhJ8BjfUIRPbJz3CxL64KmsNXezEaMY60w=
Original file line number Diff line number Diff line change 1
1
[tox]
2
- envlist = py27,coverage
3
-
2
+ envlist =
3
+ py27,
4
+ py34,
5
+ py35
4
6
5
7
[testenv]
6
- setenv =
7
- PYTHONPATH = {toxinidir}:{toxinidir}/ethereum
8
- commands = coverage run --source =ethereum --branch -m py.test {posargs}
8
+ commands =
9
+ coverage run {env:COVERAGE_APPEND:} --source ethereum -m py.test {posargs}
9
10
deps =
10
- -r{toxinidir}/requirements.txt
11
+ coverage
11
12
-r{toxinidir}/dev_requirements.txt
12
13
14
+ [testenv:py27]
15
+ basepython =python2.7
13
16
14
- [testenv:coverage]
15
- deps =
16
- coverage
17
- skip_install = true
18
- commands =
19
- coverage report --show-missing
17
+ [testenv:py34]
18
+ basepython =python3.4
19
+
20
+ [testenv:py35]
21
+ basepython =python3.5
You can’t perform that action at this time.
0 commit comments