-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
31 lines (26 loc) · 883 Bytes
/
.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
# Link repository with Travis CI
# https://travis-ci.org/
# Whitelist gh-pages branch
branches:
only:
- master
# Set the language
language: bash
# Set the environment path to include Pandoc binaries
env:
global:
- PATH=$TRAVIS_BUILD_DIR/usr/bin/:$PATH
before_install:
# Fetch pandoc and pandoc-citeproc binaries
- wget https://github.com/jgm/pandoc/releases/download/1.15.0.5/pandoc-1.15.0.5-1-amd64.deb && ar p pandoc-1.15.0.5-1-amd64.deb data.tar.gz | tar zx
# Install TeX Live
- sudo add-apt-repository -y ppa:texlive-backports/ppa
- sudo apt-get update -qq
- sudo apt-get install texlive-xetex texlive-latex-recommended texlive-latex-extra
- sudo apt-get install texlive-fonts-recommended texlive-fonts-extra
- sudo apt-get install texlive-science
# Install fonts
- sudo apt-get install lmodern
# Attempt to create a PDF
script:
- make pdf