Put the TEST_ARGS in travis_setup.sh

This commit is contained in:
Steven Silvester
2014-10-11 04:58:09 -05:00
parent d415486a21
commit 81d5498338
2 changed files with 13 additions and 8 deletions
+7 -8
View File
@@ -7,14 +7,12 @@
language: python
matrix:
include:
- python: "2.6"
- python: "2.7_with_system_site_packages"
- python: "3.2"
- python: "3.3"
env: TEST_ARGS="--with-cov --cover-package"
- python: "3.4"
python:
- 2.6
- "2.7_with_system_site_packages"
- 3.2
- 3.3
- 3.4
before_install:
- export DISPLAY=:99.0
@@ -47,6 +45,7 @@ script:
- tools/header.py "Run tests with all dependencies"
# run tests again with optional dependencies to get more coverage
# we get TEST_ARGS from travis_setup.sh
- nosetests --exe -v --with-doctest $TEST_ARGS
after_success:
+6
View File
@@ -11,3 +11,9 @@ fi
pip install -r requirements.txt $WHEELHOUSE
python check_bento_build.py
if [[ $TRAVIS_PYTHON_VERSION == 3.3 ]]; then
export TEST_ARGS="--with-cov --cover-package skimage"
else
export TEST_ARGS=""
fi