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