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