BF: no pytest helper on 3.3 as well

This commit is contained in:
Yaroslav Halchenko 2018-09-12 10:17:45 -04:00
parent 868ca90092
commit 1bfcb11364
1 changed files with 8 additions and 2 deletions

View File

@ -36,8 +36,14 @@ install:
# command to run tests
script:
- make localbuild
- if [[ $TRAVIS_PYTHON_VERSION == 3.3 ]]; then COVERAGE=; else COVERAGE="coverage run"; fi
- $COVERAGE `which pytest` -s -v tests/
- if [ $TRAVIS_PYTHON_VERSION = 3.3 ]; then
COVERAGE= ;
PYTEST="python -m pytest";
else
COVERAGE="coverage run" ;
PYTEST=`which pytest`;
fi
- $COVERAGE $PYTEST -s -v tests/
#notifications:
# email: false