diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2017-09-01 10:36:25 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2017-09-01 11:07:15 +0200 |
commit | 7697bf0c03742f2339ce96870d0a52e370a31daf (patch) | |
tree | d0b682c537daeadfa571f0dcc3fe9962c43bca47 /tools | |
parent | 26d7e398ebf6352fdf1c5a659b39646da36b03e4 (diff) | |
download | numpy-7697bf0c03742f2339ce96870d0a52e370a31daf.tar.gz |
MAINT: merge python -3 and -OO test
They are not worth two seperate slow test runs.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/travis-test.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tools/travis-test.sh b/tools/travis-test.sh index b5c40cf25..33267d031 100755 --- a/tools/travis-test.sh +++ b/tools/travis-test.sh @@ -20,13 +20,8 @@ source builds/venv/bin/activate PYTHON=${PYTHON:-python} PIP=${PIP:-pip} -if [ -n "$PYTHON_OO" ]; then - PYTHON="${PYTHON} -OO" -fi - - -if [ -n "$PY3_COMPATIBILITY_CHECK" ]; then - PYTHON="${PYTHON} -3" +if [ -n "$PYTHON_OPTS" ]; then + PYTHON="${PYTHON} $PYTHON_OPTS" fi # make some warnings fatal, mostly to match windows compilers |