From 868ca90092801bb7296c24a33d492e04cbc609ea Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 11 Sep 2018 23:43:56 -0400 Subject: [PATCH] BF: on python 3.3 coverage/pytest are not cooperating - no coverage there --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 176bc45..f175479 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,8 @@ install: # command to run tests script: - make localbuild - - coverage run -- `which pytest` -s -v tests/ + - if [[ $TRAVIS_PYTHON_VERSION == 3.3 ]]; then COVERAGE=; else COVERAGE="coverage run"; fi + - $COVERAGE `which pytest` -s -v tests/ #notifications: # email: false