-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
39 lines (38 loc) · 1.2 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
sudo: required
dist: trusty
language: bash
matrix:
include:
- os: linux
before_install:
- |
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
brew update
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap miktex/miktex
brew install miktex
brew install ghostscript
initexmf --admin --set-config-value "[MPM]AutoInstall=1"
initexmf --admin --update-fndb
initexmf --admin --mklinks
mpm --admin --verbose --package-level=basic --upgrade
initexmf --admin --mkmaps
initexmf --admin --update-fndb
fi
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
sudo apt-get update
sudo apt-get install ghostscript
curl -L https://github.com/holgern/travis-texlive/releases/download/2017-09-18_02/texlive.tar.xz | tar -JxC ~
fi
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then PATH=$HOME/texlive/bin/x86_64-linux:$PATH; fi
script:
- make clean
- make BUILD_STRATEGY=pdflatex BIB_STRATEGY=biblatex
- make clean
- make
- make clean
- make BUILD_STRATEGY=xelatex BIB_STRATEGY=biblatex
- make clean
- make BUILD_STRATEGY=lualatex BIB_STRATEGY=biblatex
- make clean