Show More
@@ -1,105 +1,105 b'' | |||
|
1 | 1 | # http://travis-ci.org/#!/ipython/ipython |
|
2 | 2 | language: python |
|
3 | 3 | os: linux |
|
4 | 4 | |
|
5 | 5 | addons: |
|
6 | 6 | apt: |
|
7 | 7 | packages: |
|
8 | 8 | - graphviz |
|
9 | 9 | |
|
10 | 10 | python: |
|
11 | 11 | - 3.6 |
|
12 | 12 | - 3.5 |
|
13 | 13 | |
|
14 | 14 | sudo: false |
|
15 | 15 | |
|
16 | 16 | env: |
|
17 | 17 | global: |
|
18 | 18 | - PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH |
|
19 | 19 | |
|
20 | 20 | group: edge |
|
21 | 21 | |
|
22 | 22 | before_install: |
|
23 | 23 | - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi' |
|
24 | 24 | - | |
|
25 | 25 | # install Python on macOS |
|
26 | 26 | if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then |
|
27 | 27 | env | sort |
|
28 | 28 | if ! which python$TRAVIS_PYTHON_VERSION; then |
|
29 | 29 | HOMEBREW_NO_AUTO_UPDATE=1 brew tap minrk/homebrew-python-frameworks |
|
30 | 30 | HOMEBREW_NO_AUTO_UPDATE=1 brew cask install python-framework-${TRAVIS_PYTHON_VERSION/./} |
|
31 | 31 | fi |
|
32 | 32 | python3 -m pip install virtualenv |
|
33 | 33 | python3 -m virtualenv -p $(which python$TRAVIS_PYTHON_VERSION) ~/travis-env |
|
34 | 34 | source ~/travis-env/bin/activate |
|
35 | 35 | fi |
|
36 | 36 | - python --version |
|
37 | 37 | |
|
38 | 38 | install: |
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
39 | - pip install pip --upgrade | |
|
40 | - pip install setuptools --upgrade | |
|
41 | - pip install -e file://$PWD#egg=ipython[test] --upgrade | |
|
42 | - pip install trio curio | |
|
43 | - pip install codecov check-manifest --upgrade | |
|
44 | 44 | |
|
45 | 45 | script: |
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
46 | - check-manifest | |
|
47 | - | | |
|
48 | if [[ "$TRAVIS_PYTHON_VERSION" == "nightly" ]]; then | |
|
49 | # on nightly fake parso known the grammar | |
|
50 | 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 | |
|
51 | fi | |
|
52 | - cd /tmp && iptest --coverage xml && cd - | |
|
53 | # On the latest Python (on Linux) only, make sure that the docs build. | |
|
54 | - | | |
|
55 | if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then | |
|
56 | pip install -r docs/requirements.txt | |
|
57 | python tools/fixup_whats_new_pr.py | |
|
58 | make -C docs/ html SPHINXOPTS="-W" | |
|
59 | fi | |
|
60 | 60 | |
|
61 | 61 | after_success: |
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
62 | - cp /tmp/ipy_coverage.xml ./ | |
|
63 | - cp /tmp/.coverage ./ | |
|
64 | - codecov | |
|
65 | 65 | |
|
66 | 66 | matrix: |
|
67 | 67 | include: |
|
68 | 68 | - python: "3.7" |
|
69 | 69 | dist: xenial |
|
70 | 70 | sudo: true |
|
71 | 71 | - python: "3.7-dev" |
|
72 | 72 | dist: xenial |
|
73 | 73 | sudo: true |
|
74 | 74 | - python: "nightly" |
|
75 | 75 | dist: xenial |
|
76 | 76 | sudo: true |
|
77 | 77 | - os: osx |
|
78 | 78 | language: generic |
|
79 | 79 | python: 3.6 |
|
80 | 80 | env: TRAVIS_PYTHON_VERSION=3.6 |
|
81 | 81 | - os: osx |
|
82 | 82 | language: generic |
|
83 | 83 | python: 3.7 |
|
84 | 84 | env: TRAVIS_PYTHON_VERSION=3.7 |
|
85 | 85 | allow_failures: |
|
86 | 86 | - python: nightly |
|
87 | 87 | |
|
88 | 88 | before_deploy: |
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
|
89 | - rm -rf dist/ | |
|
90 | - python setup.py sdist | |
|
91 | - python setup.py bdist_wheel | |
|
92 | 92 | |
|
93 | 93 | deploy: |
|
94 | 94 | provider: releases |
|
95 | 95 | api_key: |
|
96 |
|
|
|
96 | secure: Y/Ae9tYs5aoBU8bDjN2YrwGG6tCbezj/h3Lcmtx8HQavSbBgXnhnZVRb2snOKD7auqnqjfT/7QMm4ZyKvaOEgyggGktKqEKYHC8KOZ7yp8I5/UMDtk6j9TnXpSqqBxPiud4MDV76SfRYEQiaDoG4tGGvSfPJ9KcNjKrNvSyyxns= | |
|
97 | 97 | file: dist/* |
|
98 | 98 | file_glob: true |
|
99 | 99 | skip_cleanup: true |
|
100 | 100 | on: |
|
101 | 101 | repo: ipython/ipython |
|
102 | 102 | all_branches: true # Backports are released from e.g. 5.x branch |
|
103 | 103 | tags: true |
|
104 | 104 | python: 3.6 # Any version should work, but we only need one |
|
105 | 105 | condition: $TRAVIS_OS_NAME = "linux" |
General Comments 0
You need to be logged in to leave comments.
Login now