forked from lbl-srg/obc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (41 loc) · 1.02 KB
/
.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
45
46
47
language: python
python:
- "3.6"
cache: pip
notifications:
email: false
git:
depth: 10
# Install dependencies
# graphviz is required by plantuml
addons:
apt:
packages:
- graphviz
# For sphinx, we need to install specific package versions, otherwise
# the html output may have small formatting differences which causes
# the test to fail
install:
- pip3 install --upgrade pip wheel
- pip3 install sphinx==2.1.2 \
sphinx-bootstrap-theme==0.7.1 \
sphinxcontrib-bibtex==0.4.2 \
sphinxcontrib-plantuml==0.17 \
alabaster==0.7.12 \
MarkupSafe==1.1.1 \
Pygments==2.4.2 \
snowballstemmer==1.9.0 \
docutils==0.15.2 \
Babel==2.7.0 \
requests==2.22.0 \
Jinja2==2.10.1 \
latexcodec==1.0.7 \
pybtex==0.22.2
pybtex-docutils==0.2.1 \
oset==0.1.3 \
PyYAML==5.1.2
# Execute tests
script:
- (cd specification; make clean html; cd ..)
- (cd specification; make latex; cd ..)
- (cd specification; make linkcheck SPHINXOPTS=-W; cd ..)