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: ...@@ -74,9 +74,14 @@ matrix:
language: cpp language: cpp
compiler: clang compiler: clang
cache: false cache: false
- env: STACKLESS=true BACKEND=c
python: 2.7
- env: STACKLESS=true BACKEND=c
python: 3.6
allow_failures: allow_failures:
- python: pypy - python: pypy
- python: pypy3 - python: pypy3
- env: STACKLESS=true BACKEND=c
exclude: exclude:
- python: pypy - python: pypy
env: BACKEND=cpp env: BACKEND=cpp
...@@ -99,13 +104,18 @@ before_install: ...@@ -99,13 +104,18 @@ before_install:
fi 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; 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; bash miniconda.sh -b -p $HOME/miniconda && rm miniconda.sh;
export PATH="$HOME/miniconda/bin:$PATH"; hash -r; export PATH="$HOME/miniconda/bin:$PATH"; hash -r;
#conda install --quiet --yes nomkl --file=test-requirements.txt --file=test-requirements-cpython.txt; #conda install --quiet --yes nomkl --file=test-requirements.txt --file=test-requirements-cpython.txt;
fi fi
- if [[ "$STACKLESS" == "true" ]]; then
conda config --add channels stackless;
conda install stackless;
fi
install: install:
- python -c 'import sys; print("Python %s" % (sys.version,))' - 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 - 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