Use a recent version of TeX Live for the Travis-CI build.

This commit is contained in:
Georges Dupéron 2017-08-18 08:56:24 +02:00
parent 1e15ba95f5
commit f110a36916
14 changed files with 13 additions and 32 deletions

View File

@ -1,42 +1,19 @@
language: c language: c
sudo: false sudo: false
env:
- PATH="$HOME/texlive/bin/x86_64-linux:$PATH"
before_install: before_install:
- true - true
addons:
apt:
packages:
- texlive-latex-base
- texlive-fonts-extra
- texlive-fonts-recommended
- texlive-latex-extra
# on 12.04: texlive-latex3, but use texlive-latex-recommended on more recent versions of Ubuntu.
- texlive-latex3
- texlive-latex-recommended
- pgf
- latex-xcolor
- lmodern
- texlive-math-extra
install: install:
- echo "LaTeX extra packages:" - echo "Installing LaTeX and LaTeX packages."
- latex_home=$(kpsewhich -var-value=TEXMFHOME) - curl -L -o texlive.tar.gz https://github.com/yihui/ubuntu-bin/releases/download/latest/texlive.tar.gz
- curl -L -o newunicodechar.ins http://mirrors.ctan.org/macros/latex/contrib/newunicodechar/newunicodechar.ins - tar -C "$HOME/" -zxf texlive.tar.gz
- curl -L -o newunicodechar.dtx http://mirrors.ctan.org/macros/latex/contrib/newunicodechar/newunicodechar.dtx - tlmgr update --self
- latex newunicodechar.ins - tlmgr install newunicodechar mathpartir pgf pgfplots bera float cancel pgfopts elocalloc environ savesym bbding wasy wasysym epigraph
- mkdir -p "$latex_home/tex/latex/newunicodechar" - echo "Finished installing LaTeX and LaTeX packages."
- mv newunicodechar.sty "$latex_home/tex/latex/newunicodechar"
- curl -L -o mathpartir.dtx http://mirrors.ctan.org/macros/latex/contrib/mathpartir/mathpartir.dtx
- curl -L -o mathpartir.ins http://mirrors.ctan.org/macros/latex/contrib/mathpartir/mathpartir.ins
- latex mathpartir.ins
- mkdir -p "$latex_home/tex/latex/mathpartir"
- mv mathpartir.sty "$latex_home/tex/latex/mathpartir"
- curl -L -o pgf.zip https://downloads.sourceforge.net/project/pgf/pgf/version%203.0.1/pgf_3.0.1.tds.zip
- unzip -d "$latex_home" pgf.zip
- curl -L -o pgfplots.zip https://downloads.sourceforge.net/project/pgfplots/pgfplots/1.15/pgfplots_1.15.tds.zip
- unzip -d "$latex_home" pgfplots.zip
- echo "Finished installing extra latex packages."
# ################## # # ################## #
# Actual LaTeX build # # Actual LaTeX build #
# ################## # # ################## #

0
forest-compat.sty Executable file → Normal file
View File

0
forest-doc.sty Executable file → Normal file
View File

0
forest-lib-edges.sty Executable file → Normal file
View File

0
forest-lib-linguistics.sty Executable file → Normal file
View File

0
forest.sty Executable file → Normal file
View File

0
growingwave.sty Executable file → Normal file
View File

0
justtrees.sty Executable file → Normal file
View File

0
oni-tree-defaults.sty Executable file → Normal file
View File

0
oni-trees.sty Executable file → Normal file
View File

0
tikzlibrarydecorations.growingwave.code.tex Executable file → Normal file
View File

0
tikzlibraryoni-squiggly.code.tex Executable file → Normal file
View File

2
tikzlibrarytree-triangle-fit.code.tex Executable file → Normal file
View File

@ -9,6 +9,7 @@
% } % }
% %%%%%%% % %%%%%%%
\ifx\pgfmathsign\relax%
\tikzmath{ \tikzmath{
function sign(\x) { function sign(\x) {
if (\x < 0) then { if (\x < 0) then {
@ -22,6 +23,7 @@
}; };
}; };
} }
\fi%
\newif\iftrianglefitisosceles \newif\iftrianglefitisosceles
\newif\iftrianglefitbackground \newif\iftrianglefitbackground

2
tikzlibrarytriangle-fit.code.tex Executable file → Normal file
View File

@ -9,6 +9,7 @@
% } % }
% %%%%%%% % %%%%%%%
\ifx\pgfmathsign\relax%
\tikzmath{ \tikzmath{
function sign(\x) { function sign(\x) {
if (\x < 0) then { if (\x < 0) then {
@ -22,6 +23,7 @@
}; };
}; };
} }
\fi%
\newif\iftrianglefitisosceles \newif\iftrianglefitisosceles
\newif\iftrianglefitbackground \newif\iftrianglefitbackground