forked from spatialaudio/nbsphinx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (36 loc) · 1000 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
language: python
python:
- "3.6"
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.2"
- env: SPHINX="==1.6.7"
- env: SPHINX="==1.7.5"
- env: SPHINX="==1.8.2"
# a few Python versions using latest Sphinx release
- python: "3.4"
- python: "3.5"
- python: "nightly"
# Pandas only works in PyPy >= 5.9, which isn't yet available on Travis-CI
#- python: "pypy3"
addons:
apt:
packages:
- pandoc
install:
- pip install Sphinx$SPHINX
- pip install .
- pip install ipykernel
- pip install numpy
- pip install matplotlib
- pip install pandas
- pip install sphinxcontrib-bibtex
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