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:
Brian Warner 2018-12-24 22:54:01 -05:00
parent 061ff98383
commit 942a04952f
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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