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