.travis.yml
44 lines
| 1.5 KiB
| text/x-yaml
|
YamlLexer
Marc Abramowitz
|
r7633 | # http://travis-ci.org/#!/ipython/ipython | ||
language: python | ||||
python: | ||||
Matthias Bussonnier
|
r22398 | - "nightly" | ||
Matthias Bussonnier
|
r21775 | - 3.5 | ||
MinRK
|
r16540 | - 3.4 | ||
Min RK
|
r21248 | - 3.3 | ||
Marc Abramowitz
|
r7633 | - 2.7 | ||
Danilo J. S. Bellini
|
r22746 | - pypy | ||
Min RK
|
r19868 | sudo: false | ||
Marc Abramowitz
|
r7633 | before_install: | ||
Min RK
|
r18565 | - git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels | ||
Min RK
|
r21248 | - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi' | ||
Marc Abramowitz
|
r7633 | install: | ||
Matthias Bussonnier
|
r21981 | - pip install "setuptools>=18.5" | ||
Danilo J. S. Bellini
|
r22753 | # 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 | ||||
Min RK
|
r21931 | - pip install -f travis-wheels/wheelhouse -e file://$PWD#egg=ipython[test] | ||
Matthias Bussonnier
|
r21791 | - pip install codecov | ||
Marc Abramowitz
|
r7633 | script: | ||
Min RK
|
r21248 | - cd /tmp && iptest --coverage xml && cd - | ||
Matthias Bussonnier
|
r19539 | after_success: | ||
- cp /tmp/ipy_coverage.xml ./ | ||||
- cp /tmp/.coverage ./ | ||||
Matthias Bussonnier
|
r21791 | - codecov | ||
Min RK
|
r22473 | |||
matrix: | ||||
allow_failures: | ||||
Danilo J. S. Bellini
|
r22746 | - python: nightly | ||
- python: pypy | ||||