-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy path.travis.yml
44 lines (34 loc) · 918 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
42
43
44
# Travis Configuration for sphinxcontrib-jupyter
sudo: false #Use new Container Infrastructure
language: python
python:
- 3.7
- 3.8
env:
- SPHINX_VERSION=1.7.9
- SPHINX_VERSION=1.8.5
- SPHINX_VERSION=2.1.2
- SPHINX_VERSION=3.0.3
directories:
- "/tmp/texlive"
- "$HOME/.texlive"
timeout: 3600
notifications:
email: false
branches:
only:
- master
before_install:
- travis_wait 45 bash ./util/setup_latex.sh
- export PATH="/tmp/texlive/bin/x86_64-linux:$PATH"
install:
- if [ $TRAVIS_PYTHON_VERSION == 2.7 ]; then
pip install sphinx==$SPHINX_VERSION nbconvert nbformat dask distributed nbdime;
pip install sphinxcontrib-bibtex==0.4.2;
else
pip install sphinx==$SPHINX_VERSION nbconvert nbformat dask distributed nbdime;
pip install sphinxcontrib-bibtex;
fi
- python setup.py install
script:
- cd tests && make test && make no-inline-test