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