Show More
@@ -1,26 +1,44 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 | before_install: |
|
10 | before_install: | |
11 | - git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels |
|
11 | - git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels | |
12 | - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi' |
|
12 | - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi' | |
13 | install: |
|
13 | install: | |
14 | - pip install "setuptools>=18.5" pip --upgrade |
|
14 | - pip install "setuptools>=18.5" pip --upgrade | |
15 | - pip install -f travis-wheels/wheelhouse -e file://$PWD#egg=ipython[test] --upgrade |
|
15 | - pip install -f travis-wheels/wheelhouse -e file://$PWD#egg=ipython[test] --upgrade | |
16 | - pip install codecov --upgrade |
|
16 | - pip install codecov --upgrade | |
17 | script: |
|
17 | script: | |
18 | - cd /tmp && iptest --coverage xml && cd - |
|
18 | - cd /tmp && iptest --coverage xml && cd - | |
19 | after_success: |
|
19 | after_success: | |
20 | - cp /tmp/ipy_coverage.xml ./ |
|
20 | - cp /tmp/ipy_coverage.xml ./ | |
21 | - cp /tmp/.coverage ./ |
|
21 | - cp /tmp/.coverage ./ | |
22 | - codecov |
|
22 | - codecov | |
23 |
|
23 | |||
24 | matrix: |
|
24 | matrix: | |
25 | allow_failures: |
|
25 | allow_failures: | |
26 | - python: nightly |
|
26 | - python: nightly | |
|
27 | ||||
|
28 | before_deploy: | |||
|
29 | - rm -rf dist/ | |||
|
30 | - python setup.py sdist | |||
|
31 | - python setup.py bdist_wheel | |||
|
32 | ||||
|
33 | deploy: | |||
|
34 | provider: releases | |||
|
35 | api_key: | |||
|
36 | secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns= | |||
|
37 | file: dist/* | |||
|
38 | file_glob: true | |||
|
39 | skip_cleanup: true | |||
|
40 | on: | |||
|
41 | repo: ipython/ipython | |||
|
42 | all_branches: true # Backports are released from e.g. 5.x branch | |||
|
43 | tags: true | |||
|
44 | 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