diff options
-rw-r--r-- | .travis.yml | 2 | ||||
-rwxr-xr-x | tools/travis-test.sh | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index deabf611e..12a443d41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ matrix: - python: 3.2 env: USE_DEBUG=1 - python: 2.7 - env: NPY_SEPARATE_COMPILATION=0 + env: NPY_SEPARATE_COMPILATION=0 PYTHON_OO=1 - python: 3.3 env: NPY_SEPARATE_COMPILATION=0 - python: 2.7 diff --git a/tools/travis-test.sh b/tools/travis-test.sh index d970daab3..de078edf7 100755 --- a/tools/travis-test.sh +++ b/tools/travis-test.sh @@ -88,6 +88,7 @@ run_test() if [ -n "$USE_DEBUG" ]; then export PYTHONPATH=$PWD fi + # We change directories to make sure that python won't find the copy # of numpy in the source directory. mkdir -p empty @@ -109,6 +110,10 @@ if [ -n "$USE_DEBUG" ]; then PYTHON=python3-dbg fi +if [ -n "$PYTHON_OO" ]; then + PYTHON="$PYTHON -OO" +fi + export PYTHON export PIP if [ -n "$USE_WHEEL" ] && [ $# -eq 0 ]; then |