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