try to fix travis again
add a new tox target "no-dilate" to use on py2.7, and use "coverage" everywhere else
This commit is contained in:
parent
061ff98383
commit
942a04952f
|
@ -17,10 +17,10 @@ before_script:
|
||||||
flake8 *.py src --count --select=E901,E999,F821,F822,F823 --statistics ;
|
flake8 *.py src --count --select=E901,E999,F821,F822,F823 --statistics ;
|
||||||
fi
|
fi
|
||||||
script:
|
script:
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then
|
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then
|
||||||
tox -e coverage ;
|
tox -e no-dilate ;
|
||||||
else
|
else
|
||||||
tox -e py ;
|
tox -e coverage ;
|
||||||
fi
|
fi
|
||||||
after_success:
|
after_success:
|
||||||
- codecov
|
- codecov
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -18,7 +18,7 @@ commands =
|
||||||
wormhole --version
|
wormhole --version
|
||||||
python -m wormhole.test.run_trial {posargs:wormhole}
|
python -m wormhole.test.run_trial {posargs:wormhole}
|
||||||
|
|
||||||
[testenv:py27]
|
[testenv:no-dilate]
|
||||||
extras = dev
|
extras = dev
|
||||||
|
|
||||||
# on windows, trial is installed as venv/bin/trial.py, not .exe, but (at
|
# on windows, trial is installed as venv/bin/trial.py, not .exe, but (at
|
||||||
|
|
Loading…
Reference in New Issue
Block a user