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