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