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