forked from brucemiller/LaTeXML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (35 loc) · 1.16 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
language: generic
sudo: required
dist: trusty
services:
- docker
## NOTE: Since we're using a docker image for testing,
## we can ONLY use those PERL & TEX combinations which are pre-built!
## [And use env PERL=5.xx, NOT perl:5.xx ]
env:
## Testing without texlive -- perl 5.28, 5.26.2, 5.24.4
- PERL=5.28.0 TEX=none
- PERL=5.26.2 TEX=none
- PERL=5.24.4 TEX=none
- PERL=5.20.3 TEX=none
- PERL=5.14.4 TEX=none
## Testing with texlive 2018 -- perl 5.28
- PERL=5.28.0 TEX=texlive-2018
## Testing with texlive 2016 -- perl 5.26
- PERL=5.26.2 TEX=texlive-2016
## Testing with texlive 2015 -- perl 5.22
- PERL=5.22.4 TEX=texlive-2015
matrix:
# We allow failures for all the TeXLives excepts the 2016 ones
allow_failures:
- env: PERL=5.28.0 TEX=texlive-2018
- env: PERL=5.22.4 TEX=texlive-2015
# don't wait for the allow_failures to finish
# just mark the results as done.
fast_finish: true
# Pull the given docker image
before_install:
- docker pull latexml/latexml-test-runtime:${PERL}_$TEX
# Run the docker test image
script:
- docker run --env "CI=true" --rm -v $(pwd):/root/latexml -t -i latexml/latexml-test-runtime:${PERL}_$TEX