Commit 4326a61d authored by Stefan Behnel's avatar Stefan Behnel

Add a travis build job for Stackless Python (and allow it to fail).

parent 83c3fb35
......@@ -74,9 +74,14 @@ matrix:
language: cpp
compiler: clang
cache: false
- env: STACKLESS=true BACKEND=c
python: 2.7
- env: STACKLESS=true BACKEND=c
python: 3.6
allow_failures:
- python: pypy
- python: pypy3
- env: STACKLESS=true BACKEND=c
exclude:
- python: pypy
env: BACKEND=cpp
......@@ -99,13 +104,18 @@ before_install:
fi
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then # Install Miniconda
if [[ "$TRAVIS_OS_NAME" == "osx" -o "$STACKLESS" == "true" ]]; then # Install Miniconda
curl -s -o miniconda.sh https://repo.continuum.io/miniconda/Miniconda$PY-latest-MacOSX-x86_64.sh;
bash miniconda.sh -b -p $HOME/miniconda && rm miniconda.sh;
export PATH="$HOME/miniconda/bin:$PATH"; hash -r;
#conda install --quiet --yes nomkl --file=test-requirements.txt --file=test-requirements-cpython.txt;
fi
- if [[ "$STACKLESS" == "true" ]]; then
conda config --add channels stackless;
conda install stackless;
fi
install:
- python -c 'import sys; print("Python %s" % (sys.version,))'
- if [ -n "${TRAVIS_PYTHON_VERSION##*-dev}" -a -n "${TRAVIS_PYTHON_VERSION##2.6*}" ]; then pip install -r test-requirements.txt $( [ -z "${TRAVIS_PYTHON_VERSION##pypy*}" ] || echo " -r test-requirements-cpython.txt" ) $( [ -n "${TRAVIS_PYTHON_VERSION##3.3*}" ] || echo " tornado<5.0" ) ; fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment