tox: only run coverage on py3.7

tox/coverage doesn't know to avoid the "dilate" extra, so it fails on py2.7
and py3.4
This commit is contained in:
Brian Warner 2018-12-24 14:49:25 -05:00
parent b01f48ad88
commit 937a7d93e8

View File

@ -17,7 +17,11 @@ before_script:
flake8 *.py src --count --select=E901,E999,F821,F822,F823 --statistics ;
fi
script:
- tox -e coverage
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then
tox -e coverage ;
else
tox ;
fi
after_success:
- codecov
matrix: