forked from spatialaudio/nbsphinx
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
41 lines (37 loc) · 976 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: python
python:
- "3.7"
matrix:
include:
# default Python + latest Sphinx + check for broken links
- env: ADDITIONAL_COMMAND="python -m sphinx doc/ doc/_build/ -b linkcheck"
# a few older Sphinx releases using default Python version
- env: SPHINX="==1.6.3"
- env: SPHINX="==1.6.7"
- env: SPHINX="==1.7.0"
- env: SPHINX="==1.7.9"
- env: SPHINX="==1.8.0"
- env: SPHINX="==1.8.5"
- env: SPHINX="==2.0.0"
- env: SPHINX="==2.1.0"
- env: SPHINX="==2.1.2"
# a few Python versions using latest Sphinx release
- python: "3.4"
- python: "3.5"
- python: "3.6"
- python: "nightly"
#- python: "pypy3"
addons:
apt:
packages:
- pandoc
install:
- pip install Sphinx$SPHINX
- pip install .
- pip install -r doc/requirements.txt
script:
- python -m nbsphinx
- python -m sphinx doc/ doc/_build/ -b html
- python -m sphinx doc/ doc/_build/ -b latex
- python -m sphinx doc/ doc/_build/ -b epub
- $ADDITIONAL_COMMAND