Show More
@@ -1,60 +1,65 b'' | |||||
1 | # http://travis-ci.org/#!/ipython/ipython |
|
1 | # http://travis-ci.org/#!/ipython/ipython | |
2 | language: python |
|
2 | language: python | |
3 | python: |
|
3 | python: | |
4 | - 3.6 |
|
4 | - 3.6 | |
5 | - 3.5 |
|
5 | - 3.5 | |
6 | sudo: false |
|
6 | sudo: false | |
7 | env: |
|
7 | env: | |
8 | global: |
|
8 | global: | |
9 | - PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH |
|
9 | - PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH | |
10 | group: edge |
|
10 | group: edge | |
11 | before_install: |
|
11 | before_install: | |
12 | - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi' |
|
12 | - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi' | |
13 | install: |
|
13 | install: | |
14 | - pip install pip --upgrade |
|
14 | - pip install pip --upgrade | |
15 | - pip install setuptools --upgrade |
|
15 | - pip install setuptools --upgrade | |
16 | - pip install -e file://$PWD#egg=ipython[test] --upgrade |
|
16 | - pip install -e file://$PWD#egg=ipython[test] --upgrade | |
17 | - pip install trio curio |
|
17 | - pip install trio curio | |
18 | - pip install codecov check-manifest --upgrade |
|
18 | - pip install codecov check-manifest --upgrade | |
19 | - sudo apt-get install graphviz |
|
19 | - sudo apt-get install graphviz | |
20 | script: |
|
20 | script: | |
21 | - check-manifest |
|
21 | - check-manifest | |
|
22 | - | | |||
|
23 | if [[ "$TRAVIS_PYTHON_VERSION" == "nightly" ]]; then | |||
|
24 | # on nightly fake parso known the grammar | |||
|
25 | cp /home/travis/virtualenv/python3.8-dev/lib/python3.8/site-packages/parso/python/grammar37.txt /home/travis/virtualenv/python3.8-dev/lib/python3.8/site-packages/parso/python/grammar38.txt | |||
|
26 | fi | |||
22 | - cd /tmp && iptest --coverage xml && cd - |
|
27 | - cd /tmp && iptest --coverage xml && cd - | |
23 | # On the latest Python only, make sure that the docs build. |
|
28 | # On the latest Python only, make sure that the docs build. | |
24 | - | |
|
29 | - | | |
25 | if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]]; then |
|
30 | if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]]; then | |
26 | pip install -r docs/requirements.txt |
|
31 | pip install -r docs/requirements.txt | |
27 | python tools/fixup_whats_new_pr.py |
|
32 | python tools/fixup_whats_new_pr.py | |
28 | make -C docs/ html SPHINXOPTS="-W" |
|
33 | make -C docs/ html SPHINXOPTS="-W" | |
29 | fi |
|
34 | fi | |
30 | after_success: |
|
35 | after_success: | |
31 | - cp /tmp/ipy_coverage.xml ./ |
|
36 | - cp /tmp/ipy_coverage.xml ./ | |
32 | - cp /tmp/.coverage ./ |
|
37 | - cp /tmp/.coverage ./ | |
33 | - codecov |
|
38 | - codecov | |
34 |
|
39 | |||
35 | matrix: |
|
40 | matrix: | |
36 | include: |
|
41 | include: | |
37 | - { python: "3.6-dev", dist: xenial, sudo: true } |
|
42 | - { python: "3.6-dev", dist: xenial, sudo: true } | |
38 | - { python: "3.7", dist: xenial, sudo: true } |
|
43 | - { python: "3.7", dist: xenial, sudo: true } | |
39 | - { python: "3.7-dev", dist: xenial, sudo: true } |
|
44 | - { python: "3.7-dev", dist: xenial, sudo: true } | |
40 | - { python: "nightly", dist: xenial, sudo: true } |
|
45 | - { python: "nightly", dist: xenial, sudo: true } | |
41 | allow_failures: |
|
46 | allow_failures: | |
42 | - python: nightly |
|
47 | - python: nightly | |
43 |
|
48 | |||
44 | before_deploy: |
|
49 | before_deploy: | |
45 | - rm -rf dist/ |
|
50 | - rm -rf dist/ | |
46 | - python setup.py sdist |
|
51 | - python setup.py sdist | |
47 | - python setup.py bdist_wheel |
|
52 | - python setup.py bdist_wheel | |
48 |
|
53 | |||
49 | deploy: |
|
54 | deploy: | |
50 | provider: releases |
|
55 | provider: releases | |
51 | api_key: |
|
56 | api_key: | |
52 | secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns= |
|
57 | secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns= | |
53 | file: dist/* |
|
58 | file: dist/* | |
54 | file_glob: true |
|
59 | file_glob: true | |
55 | skip_cleanup: true |
|
60 | skip_cleanup: true | |
56 | on: |
|
61 | on: | |
57 | repo: ipython/ipython |
|
62 | repo: ipython/ipython | |
58 | all_branches: true # Backports are released from e.g. 5.x branch |
|
63 | all_branches: true # Backports are released from e.g. 5.x branch | |
59 | tags: true |
|
64 | tags: true | |
60 | python: 3.6 # Any version should work, but we only need one |
|
65 | python: 3.6 # Any version should work, but we only need one |
General Comments 0
You need to be logged in to leave comments.
Login now