.travis.yml
59 lines
| 1.7 KiB
| text/x-yaml
|
YamlLexer
Marc Abramowitz
|
r7633 | # http://travis-ci.org/#!/ipython/ipython | ||
language: python | ||||
python: | ||||
Srinivas Reddy Thatiparthy
|
r23100 | - 3.6 | ||
Matthias Bussonnier
|
r21775 | - 3.5 | ||
Min RK
|
r19868 | sudo: false | ||
Olesya Baranova
|
r24057 | env: | ||
global: | ||||
- PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH | ||||
Olesya Baranova
|
r24059 | group: edge | ||
Marc Abramowitz
|
r7633 | before_install: | ||
Min RK
|
r21248 | - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi' | ||
Marc Abramowitz
|
r7633 | install: | ||
Matthias Bussonnier
|
r24424 | - pip install pip --upgrade | ||
- pip install setuptools --upgrade | ||||
Min RK
|
r23550 | - pip install -e file://$PWD#egg=ipython[test] --upgrade | ||
Matthias Bussonnier
|
r24497 | - pip install trio curio | ||
Matthias Bussonnier
|
r24268 | - pip install codecov check-manifest --upgrade | ||
Olesya Baranova
|
r24076 | - sudo apt-get install graphviz | ||
Marc Abramowitz
|
r7633 | script: | ||
Matthias Bussonnier
|
r24268 | - check-manifest | ||
Min RK
|
r21248 | - cd /tmp && iptest --coverage xml && cd - | ||
Thomas Kluyver
|
r24072 | # On the latest Python only, make sure that the docs build. | ||
- | | ||||
Matthias Bussonnier
|
r24564 | if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]]; then | ||
Thomas Kluyver
|
r24072 | pip install -r docs/requirements.txt | ||
Matthias Bussonnier
|
r24524 | python tools/fixup_whats_new_pr.py | ||
Corey McCandless
|
r24090 | make -C docs/ html SPHINXOPTS="-W" | ||
Thomas Kluyver
|
r24072 | fi | ||
Matthias Bussonnier
|
r19539 | after_success: | ||
- cp /tmp/ipy_coverage.xml ./ | ||||
- cp /tmp/.coverage ./ | ||||
Matthias Bussonnier
|
r21791 | - codecov | ||
Min RK
|
r22473 | |||
matrix: | ||||
Michael Käufl
|
r24561 | include: | ||
- { python: "3.7", dist: xenial, sudo: true } | ||||
Matthias Bussonnier
|
r24564 | - { python: "3.7-dev", dist: xenial, sudo: true } | ||
Michael Käufl
|
r24561 | - { python: "nightly", dist: xenial, sudo: true } | ||
Min RK
|
r22473 | allow_failures: | ||
Danilo J. S. Bellini
|
r22746 | - python: nightly | ||
Thomas Kluyver
|
r23453 | |||
before_deploy: | ||||
- rm -rf dist/ | ||||
- python setup.py sdist | ||||
- python setup.py bdist_wheel | ||||
deploy: | ||||
provider: releases | ||||
api_key: | ||||
secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns= | ||||
file: dist/* | ||||
file_glob: true | ||||
skip_cleanup: true | ||||
on: | ||||
repo: ipython/ipython | ||||
all_branches: true # Backports are released from e.g. 5.x branch | ||||
tags: true | ||||
python: 3.6 # Any version should work, but we only need one | ||||