forked from SquareBracketAssociates/EnterprisePharo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
17 lines (16 loc) · 868 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
language: pillar
sudo: false
cache:
directories:
- /tmp/texlive
addons:
apt:
packages:
- libc6-i386
install:
- if [ ! -d "/tmp/texlive/CURRENT" ]; then mkdir -p /tmp/texlive && cd /tmp/texlive && wget https://gist.github.com/urdh/ca8ffcf7cb7c6eace9ad/raw/57718dd299f2e0cd4a2966c17222330624ec9383/texlive.profile -O - | sed -e sX/usr/localX/tmpX > texlive.profile && wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && tar -xvf install-tl-unx.tar.gz && cd install-tl-* && ./install-tl --profile=../texlive.profile; else echo "LaTeX is already in the cache. If necessary, clean it with http://docs.travis-ci.com/user/caching/#Clearing-Caches"; fi
- cd $TRAVIS_BUILD_DIR
- ./subdownload.sh
script:
- PATH=/tmp/texlive/CURRENT/bin/x86_64-linux:$PATH make book
- PATH=/tmp/texlive/CURRENT/bin/x86_64-linux:$PATH make chapters