summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2017-10-24 21:48:15 +0200
committerStefan Behnel <stefan_ml@behnel.de>2017-10-24 21:48:15 +0200
commit0992c63ef803ae02d2d048f6b3097422dac89323 (patch)
tree869ef9fa5672294e7a2b46ba7b11422b1d0715ec
parent95eec209b553a5e7103e4bd12e4a8f356b0950cb (diff)
downloadcython-0992c63ef803ae02d2d048f6b3097422dac89323.tar.gz
Do not try to install Pythran in Py2.6 since it's not compatible.
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 5712ce06b..19a5c9f1f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -102,6 +102,6 @@ before_script: ccache -s || true
script:
- PYTHON_DBG="python$( python -c 'import sys; print("%d.%d" % sys.version_info[:2])' )-dbg"
- if $PYTHON_DBG -V >&2; then CFLAGS="-O0 -ggdb" $PYTHON_DBG runtests.py -vv Debugger --backends=$BACKEND; fi
- - if [ "$BACKEND" = "cpp" ]; then pip install pythran; fi
+ - if [ "$BACKEND" = "cpp" -a -n "${TRAVIS_PYTHON_VERSION##2.6*}" ]; then pip install pythran; fi
- CFLAGS="-O2 -ggdb -Wall -Wextra $(python -c 'import sys; print("-fno-strict-aliasing" if sys.version_info[0] == 2 else "")')" python setup.py build_ext -i
- CFLAGS="-O0 -ggdb -Wall -Wextra" python runtests.py -vv -x Debugger --backends=$BACKEND -j7