mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-29 11:26:57 +08:00
Put the TEST_ARGS in travis_setup.sh
This commit is contained in:
+7
-8
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user