File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ matrix:
1717 env : DISTRIB="conda" PYTHON_VERSION="3.5" COVERAGE="true" MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh"
1818 - os : linux
1919 env : DISTRIB="conda" PYTHON_VERSION="3.6" MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh"
20+ - os : linux
21+ env : DISTRIB="conda" PYTHON_VERSION="3.6" EXAMPLES="true" MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh"
2022
2123 # Temporarily disabling OSX builds because thy take too long
2224 # Set language to generic to not break travis-ci
Original file line number Diff line number Diff line change 55mkdir -p $TEST_DIR
66
77cwd=` pwd`
8+ examples_dir=$pwd /example
89test_dir=$cwd /test/
910
1011cd $TEST_DIR
1112
1213if [[ " $COVERAGE " == " true" ]]; then
1314 nosetests --no-path-adjustment -sv --with-coverage --cover-package=$MODULE $test_dir
15+ elif [[ " $EXAMPLES " == " true" ]]; then
16+ for example in ` find $examples_dir -name ' *.py' `
17+ do
18+ python $example
19+ done
1420else
1521 nosetests --no-path-adjustment -sv $test_dir
1622fi
You can’t perform that action at this time.
0 commit comments