summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2017-09-01 10:36:25 +0200
committerJulian Taylor <jtaylor.debian@googlemail.com>2017-09-01 11:07:15 +0200
commit7697bf0c03742f2339ce96870d0a52e370a31daf (patch)
treed0b682c537daeadfa571f0dcc3fe9962c43bca47 /tools
parent26d7e398ebf6352fdf1c5a659b39646da36b03e4 (diff)
downloadnumpy-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-xtools/travis-test.sh9
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