From 937a7d93e82707530a4c5f0e246ca64e9d29034b Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 24 Dec 2018 14:49:25 -0500 Subject: [PATCH] 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 --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8bd3a06..d237669 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: