##// END OF EJS Templates
Merge pull request #11005 from ipython/auto-backport-of-pr-10993...
Merge pull request #11005 from ipython/auto-backport-of-pr-10993 Backport PR #10993 on branch 5.x

File last commit:

r23594:66a867e4
r24142:5b6fe626 merge
Show More
.travis.yml
45 lines | 1.5 KiB | text/x-yaml | YamlLexer
# http://travis-ci.org/#!/ipython/ipython
language: python
python:
- "nightly"
- 3.6
- 3.5
- 3.4
- 3.3
- 2.7
- pypy
sudo: false
before_install:
- git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
- 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi'
install:
- pip install "setuptools>=18.5" pip --upgrade
# Installs PyPy (+ its Numpy). Based on @frol comment at:
# https://github.com/travis-ci/travis-ci/issues/5027
- |
if [ "$TRAVIS_PYTHON_VERSION" = "pypy" ]; then
export PYENV_ROOT="$HOME/.pyenv"
if [ -f "$PYENV_ROOT/bin/pyenv" ]; then
cd "$PYENV_ROOT" && git pull
else
rm -rf "$PYENV_ROOT" && git clone --depth 1 https://github.com/yyuu/pyenv.git "$PYENV_ROOT"
fi
export PYPY_VERSION="5.3.1"
"$PYENV_ROOT/bin/pyenv" install "pypy-$PYPY_VERSION"
virtualenv --python="$PYENV_ROOT/versions/pypy-$PYPY_VERSION/bin/python" "$HOME/virtualenvs/pypy-$PYPY_VERSION"
source "$HOME/virtualenvs/pypy-$PYPY_VERSION/bin/activate"
pip install https://bitbucket.org/pypy/numpy/get/master.zip
fi
- pip install -f travis-wheels/wheelhouse -e file://$PWD#egg=ipython[test]
- pip install codecov mock
script:
- cd /tmp && iptest --coverage xml && cd -
after_success:
- cp /tmp/ipy_coverage.xml ./
- cp /tmp/.coverage ./
- codecov
matrix:
allow_failures:
- python: nightly
- python: pypy