Skip to content

Commit 46dd928

Browse files
committed
Update build configuration
Stop using docker image that is hard for me to update. Instead use travis' apt addon to install texlive, and a matrix build to try and make it easier to spot where builds fail and run more work in parallel.
1 parent c8c8a45 commit 46dd928

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

.travis.yml

+16-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
1-
sudo: required
1+
addons:
2+
apt:
3+
packages:
4+
- texlive-latex-recommended
5+
- texlive-latex-extra
6+
- texlive-fonts-recommended
7+
- texlive-lang-all
28

3-
services:
4-
- docker
9+
language: python
510

6-
before_install:
7-
- docker pull cakephpfr/docs
11+
env:
12+
matrix:
13+
- HTML=1
14+
- EPUB=1
15+
- PDF=1
816

917
script:
10-
- docker run -it --rm -v $(pwd):/data cakephpfr/docs:light make html SPHINXOPTS='-W'
11-
- docker run -it --rm -v $(pwd):/data cakephpfr/docs make epub
12-
- docker run -it --rm -v $(pwd):/data cakephpfr/docs make latex
18+
- if [ $HTML = '1' ]; then make html; fi
19+
- if [ $EPUB = '1' ]; then make epub; fi
20+
- if [ $PDF = '1' ]; then make latex; fi
1321

1422
notifications:
1523
email: false

0 commit comments

Comments
 (0)