Permalink
Browse files

try to fix travis again

add a new tox target "no-dilate" to use on py2.7, and use "coverage"
everywhere else
  • Loading branch information...
warner committed Dec 25, 2018
1 parent 061ff98 commit 942a04952f4f13a85ca540e4f5a1a72c4b5b9940
Showing with 4 additions and 4 deletions.
  1. +3 −3 .travis.yml
  2. +1 −1 tox.ini
@@ -17,10 +17,10 @@ before_script:
flake8 *.py src --count --select=E901,E999,F821,F822,F823 --statistics ;
fi
script:
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then
tox -e coverage ;
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then
tox -e no-dilate ;
else
tox -e py ;
tox -e coverage ;
fi
after_success:
- codecov
@@ -18,7 +18,7 @@ commands =
wormhole --version
python -m wormhole.test.run_trial {posargs:wormhole}

[testenv:py27]
[testenv:no-dilate]
extras = dev

# on windows, trial is installed as venv/bin/trial.py, not .exe, but (at

0 comments on commit 942a049

Please sign in to comment.