From abf2295eae3a9fee795823f2934f628ba22a1bfc Mon Sep 17 00:00:00 2001 From: "Sean C. Gillies" Date: Wed, 18 Jul 2018 10:50:35 -0600 Subject: [PATCH] Pre-commit only for 3.6 --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 121dfbf..68e6295 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,8 @@ install: - pip install -e .[test] script: - - pre-commit run --all-files && python -m pytest --cov rio_color --cov-report term-missing + - if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pre-commit run --all-files; fi + - python -m pytest --cov rio_color --cov-report term-missing after_success: - coveralls