diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2018-08-26 17:54:26 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2018-08-26 17:54:26 +0200 |
commit | 63811a4a88b2a6ef2d2cf24404740b68ce63a3ae (patch) | |
tree | c502ed9d8d775c02a13d895da74b235c346ece49 | |
parent | 751c3d46c6d2f89e31088654710d94dc70fb254d (diff) | |
download | cython-63811a4a88b2a6ef2d2cf24404740b68ce63a3ae.tar.gz |
Fix script in travis config.
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index f94c64e1f..0125d07e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -128,9 +128,9 @@ script: STYLE_ARGS="--no-unit --no-doctest --no-file --no-pyregr --no-examples"; else STYLE_ARGS=--no-code-style; - if $PYTHON_DBG -V >&2; then CFLAGS="-O0 -ggdb" $PYTHON_DBG runtests.py -vv --no-code-style Debugger --backends=$BACKEND; fi - if [ -z "${BACKEND##*cpp*}" -a -n "${TRAVIS_PYTHON_VERSION##2.6*}" ]; then pip install pythran; fi - if [ "$BACKEND" != "cpp" -a -n "${TRAVIS_PYTHON_VERSION##2*}" ]; then pip install mypy; fi + if $PYTHON_DBG -V >&2; then CFLAGS="-O0 -ggdb" $PYTHON_DBG runtests.py -vv --no-code-style Debugger --backends=$BACKEND; fi; + if [ -z "${BACKEND##*cpp*}" -a -n "${TRAVIS_PYTHON_VERSION##2.6*}" ]; then pip install pythran; fi; + if [ "$BACKEND" != "cpp" -a -n "${TRAVIS_PYTHON_VERSION##2*}" ]; then pip install mypy; fi; fi - if [ "$COVERAGE" != "1" ]; then 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; fi - CFLAGS="-O0 -ggdb -Wall -Wextra" python runtests.py -vv $STYLE_ARGS -x Debugger --backends=$BACKEND $(if [ "$COVERAGE" == "1" ]; then echo " --coverage"; fi) $(if [ -z "$TEST_CODE_STYLE" ]; then echo " -j7 "; fi) |