Added LaTeX packages to dependencies in .travis.yml (including one from CTAN)

This commit is contained in:
Georges Dupéron 2016-01-15 17:05:13 +01:00
parent d4db7a44c1
commit 9875f56755

View File

@ -6,6 +6,10 @@ addons:
apt:
packages:
- texlive-latex-base
- texlive-fonts-extra
- texlive-fonts-recommended
- texlive-latex-extra
- latex-xcolor
env:
- PATH=~/racket/bin:$PATH
@ -16,6 +20,13 @@ before_install:
- if test ${#racket_commit} -ne 40 || echo $racket_commit | grep [^0-9a-f]; then racket_commit=fail; fi
- if test -e $HOME/cache/racket_commit -a "${racket_commit}" = "$(cat $HOME/cache/racket_commit)"; then echo "Using cached version of racket installer, commit ${racket_commit} == $(cat $HOME/cache/racket_commit)."; else test -e $HOME/cache && rm -fr $HOME/cache; mkdir -p $HOME/cache; echo $racket_commit > $HOME/cache/racket_commit; curl -L -o $HOME/cache/installer.sh http://www.cs.utah.edu/plt/snapshots/current/installers/racket-current-x86_64-linux-precise.sh; fi
- sh $HOME/cache/installer.sh --in-place --dest ~/racket/
- echo "LaTeX extra packages:"
- latex_home=$(kpsewhich -var-value=TEXMFHOME)
- curl -L -o newunicodechar.ins http://mirrors.ctan.org/macros/latex/contrib/newunicodechar/newunicodechar.ins
- curl -L -o newunicodechar.dtx http://mirrors.ctan.org/macros/latex/contrib/newunicodechar/newunicodechar.dtx
- latex newunicodechar.ins
- mkdir -p "$latex_home/tex/latex/newunicodechar"
- mv newunicodechar.sty "$latex_home/tex/latex/newunicodechar"
cache:
apt: true