Show More
@@ -1,56 +1,55 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 | - "nightly" |
|
4 | - "nightly" | |
5 | - "3.7-dev" |
|
5 | - "3.7-dev" | |
6 | - 3.7 |
|
|||
7 | - 3.6 |
|
6 | - 3.6 | |
8 | - 3.5 |
|
7 | - 3.5 | |
9 | sudo: false |
|
8 | sudo: false | |
10 | env: |
|
9 | env: | |
11 | global: |
|
10 | global: | |
12 | - PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH |
|
11 | - PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH | |
13 | group: edge |
|
12 | group: edge | |
14 | before_install: |
|
13 | before_install: | |
15 | - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi' |
|
14 | - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi' | |
16 | install: |
|
15 | install: | |
17 | - pip install pip --upgrade |
|
16 | - pip install pip --upgrade | |
18 | - pip install setuptools --upgrade |
|
17 | - pip install setuptools --upgrade | |
19 | - pip install -e file://$PWD#egg=ipython[test] --upgrade |
|
18 | - pip install -e file://$PWD#egg=ipython[test] --upgrade | |
20 | - pip install codecov check-manifest --upgrade |
|
19 | - pip install codecov check-manifest --upgrade | |
21 | - sudo apt-get install graphviz |
|
20 | - sudo apt-get install graphviz | |
22 | script: |
|
21 | script: | |
23 | - check-manifest |
|
22 | - check-manifest | |
24 | - cd /tmp && iptest --coverage xml && cd - |
|
23 | - cd /tmp && iptest --coverage xml && cd - | |
25 | # On the latest Python only, make sure that the docs build. |
|
24 | # On the latest Python only, make sure that the docs build. | |
26 | - | |
|
25 | - | | |
27 | if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then |
|
26 | if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then | |
28 | pip install -r docs/requirements.txt |
|
27 | pip install -r docs/requirements.txt | |
29 | make -C docs/ html SPHINXOPTS="-W" |
|
28 | make -C docs/ html SPHINXOPTS="-W" | |
30 | fi |
|
29 | fi | |
31 | after_success: |
|
30 | after_success: | |
32 | - cp /tmp/ipy_coverage.xml ./ |
|
31 | - cp /tmp/ipy_coverage.xml ./ | |
33 | - cp /tmp/.coverage ./ |
|
32 | - cp /tmp/.coverage ./ | |
34 | - codecov |
|
33 | - codecov | |
35 |
|
34 | |||
36 | matrix: |
|
35 | matrix: | |
37 | allow_failures: |
|
36 | allow_failures: | |
38 | - python: nightly |
|
37 | - python: nightly | |
39 |
|
38 | |||
40 | before_deploy: |
|
39 | before_deploy: | |
41 | - rm -rf dist/ |
|
40 | - rm -rf dist/ | |
42 | - python setup.py sdist |
|
41 | - python setup.py sdist | |
43 | - python setup.py bdist_wheel |
|
42 | - python setup.py bdist_wheel | |
44 |
|
43 | |||
45 | deploy: |
|
44 | deploy: | |
46 | provider: releases |
|
45 | provider: releases | |
47 | api_key: |
|
46 | api_key: | |
48 | secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns= |
|
47 | secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns= | |
49 | file: dist/* |
|
48 | file: dist/* | |
50 | file_glob: true |
|
49 | file_glob: true | |
51 | skip_cleanup: true |
|
50 | skip_cleanup: true | |
52 | on: |
|
51 | on: | |
53 | repo: ipython/ipython |
|
52 | repo: ipython/ipython | |
54 | all_branches: true # Backports are released from e.g. 5.x branch |
|
53 | all_branches: true # Backports are released from e.g. 5.x branch | |
55 | tags: true |
|
54 | tags: true | |
56 | python: 3.6 # Any version should work, but we only need one |
|
55 | 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