-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
55 lines (47 loc) · 1.22 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
48
49
50
51
52
53
54
55
dist: trusty
sudo: required
language: python
python: 3.6
cache: apt
# thanks @greut for the base part of addons and install parts!
addons:
apt:
packages:
- latex-xcolor
- lmodern
- make
- texlive
- texlive-generic-recommended
- texlive-latex-extra
- texlive-fonts-extra
- texlive-fonts-recommended
- texlive-lang-french
- texlive-latex-extra
- texlive-math-extra
- texlive-xetex
- fonts-linuxlibertine
- latexmk
- librsvg2-bin
install:
- wget https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-1-amd64.deb -O pandoc.deb
- sudo dpkg -i pandoc.deb
- wget https://github.com/lierdakil/pandoc-crossref/releases/download/v${PANDOC_CROSSREF_VERSION}/linux-ghc82-pandoc21.tar.gz
- tar xf linux-ghc82-pandoc21.tar.gz
- sudo mv pandoc-crossref /usr/local/bin
- pip install -r requirements.txt
- chmod +x test.sh
- chmod +x makeScript.sh
env:
global:
- PANDOC_VERSION=2.1.3
- PANDOC_CROSSREF_VERSION=0.3.1.0
jobs:
include:
- stage: Test
script: ./test.sh
- stage: Build
script: ./makeScript.sh
notifications:
email:
on_failure: never
on_pull_requests: never