summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
1 files changed, 9 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index b0c57e637..81a6120c5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,9 +17,10 @@ cache:
- $HOME/.ccache
python:
+ - 3.9
- 3.8
- 2.7
- - 3.9-dev
+ - 3.10-dev
- 3.7
- 3.6
- 3.5
@@ -44,14 +45,14 @@ matrix:
- os: osx
osx_image: xcode10.3
env: PY=2 MACOSX_DEPLOYMENT_TARGET=10.9
- python: 2
+ python: 2.7
language: c
compiler: clang
cache: false
- os: osx
osx_image: xcode10.3
env: PY=3 MACOSX_DEPLOYMENT_TARGET=10.9
- python: 3
+ python: 3.9
language: c
compiler: clang
cache: false
@@ -115,7 +116,6 @@ matrix:
- env: BACKEND=c EXCLUDE="--listfile=tests/pypy_bugs.txt bugs"
- env: BACKEND=c EXCLUDE="--listfile=tests/pypy_bugs.txt --listfile=tests/pypy2_bugs.txt bugs"
-
before_install:
- |
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
@@ -137,8 +137,8 @@ before_install:
conda --version || exit 1
#conda install --quiet --yes nomkl --file=test-requirements.txt --file=test-requirements-cpython.txt
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
- which clang && clang --version && export CC=clang || true
- which clang++ && clang++ --version && export CXX="clang++ -stdlib=libc++" || true
+ which clang && clang --version && export CC="clang -Wno-deprecated-declarations" || true
+ which clang++ && clang++ --version && export CXX="clang++ -stdlib=libc++ -Wno-deprecated-declarations" || true
fi
fi
@@ -152,7 +152,8 @@ before_install:
install:
- python -c 'import sys; print("Python %s" % (sys.version,))'
- - if [ -n "${TRAVIS_PYTHON_VERSION##*-dev}" ]; then pip install -r test-requirements.txt $( [ -z "${TRAVIS_PYTHON_VERSION##pypy*}" -o -z "${TRAVIS_PYTHON_VERSION##3.[4789]*}" ] || echo " -r test-requirements-cpython.txt" ) ; fi
+ - if [ -z "${TRAVIS_PYTHON_VERSION##2.7}" ]; then [ "$TRAVIS_OS_NAME" == "osx" -a "$PY" == "3" ] || pip install -r test-requirements-27.txt ; fi
+ - if [ -n "${TRAVIS_PYTHON_VERSION##*-dev}" -a -n "${TRAVIS_PYTHON_VERSION##2.7}" ]; then pip install -r test-requirements.txt $( [ -z "${TRAVIS_PYTHON_VERSION##pypy*}" -o -z "${TRAVIS_PYTHON_VERSION##3.[47891]*}" ] || echo " -r test-requirements-cpython.txt" ) ; 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
before_script: ccache -s || true
@@ -164,7 +165,7 @@ script:
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##*-dev}" ]; then pip install pythran; fi;
+ if [ -z "${BACKEND##*cpp*}" -a -n "${TRAVIS_PYTHON_VERSION##*-dev}" ]; then pip install pythran==0.9.7; fi;
if [ "$BACKEND" != "cpp" -a -n "${TRAVIS_PYTHON_VERSION##2*}" -a -n "${TRAVIS_PYTHON_VERSION##pypy*}" -a -n "${TRAVIS_PYTHON_VERSION##*-dev}" -a -n "${TRAVIS_PYTHON_VERSION##*3.4}" ]; then pip install mypy; fi;
fi
# Need to clear the ccache? Try something like this: