Skip to content
Snippets Groups Projects
Unverified Commit 1e0e10dc authored by Moritz Aurel Pascal Schubotz's avatar Moritz Aurel Pascal Schubotz
Browse files

Install tex on travis ci

parent e1fa12b1
No related branches found
No related tags found
No related merge requests found
language: ruby
rvm:
- 2.0.0
- 1.9.3
- jruby-19mode
- rbx-2
install:
- source ./support/texlive_install.sh
cache:
directories:
- "/tmp/texlive"
- "$HOME/.texlive"
deploy:
provider: releases
api_key:
......
selected_scheme scheme-basic
TEXDIR /tmp/texlive
TEXMFCONFIG ~/.texlive/texmf-config
TEXMFHOME ~/texmf
TEXMFLOCAL /tmp/texlive/texmf-local
TEXMFSYSCONFIG /tmp/texlive/texmf-config
TEXMFSYSVAR /tmp/texlive/texmf-var
TEXMFVAR ~/.texlive/texmf-var
option_doc 0
option_src 0
#!/usr/bin/env sh
# Originally from https://github.com/latex3/latex3
# This script is used for testing using Travis
# It is intended to work on their VM set up: Ubuntu 12.04 LTS
# A minimal current TL is installed adding only the packages that are
# required
# See if there is a cached version of TL available
export PATH=/tmp/texlive/bin/x86_64-linux:$PATH
if ! command -v texlua > /dev/null; then
# Obtain TeX Live
wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
tar -xzf install-tl-unx.tar.gz
cd install-tl-20*
# Install a minimal system
./install-tl --profile=../support/texlive.profile
cd ..
fi
# Just including texlua so the cache check above works
# Needed for any use of texlua even if not testing LuaTeX
tlmgr install luatex
# Needed for TeX Live 2017
tlmgr install xkeyval
# A kind of minimum set of packages needed
tlmgr install collection-latex
# Install babel languages
tlmgr install collection-langeuropean
# Index of packages: http://ctan.mirrors.hoobly.com/systems/texlive/tlnet/archive/
# Other contrib packages: done as a block to avoid multiple calls to tlmgr
# pgf includes tikz
tlmgr install \
exam \
amsmath \
mathtools \
thmtools \
stmaryrd \
xcolor \
pdfpages \
pgf \
cancel \
hyperref \
pgfplots \
listings \
scalerel \
stackengine \
etoolbox \
listofitems \
marvosym \
amsfonts \
opensans \
slantsc \
fancyhdr \
ulem \
algorithms \
algorithmicx \
float \
booktabs \
enumitem \
polynom \
fancyvrb \
makecmds \
multirow \
chngcntr \
imakeidx \
csvsimple \
paralist \
markdown \
ocgx2 \
biber \
biblatex \
media9 \
latexmk \
logreq \
lm \
ifoddpage \
algorithm2e \
relsize \
microtype \
totpages \
environ \
trimspaces \
textcase \
ncctools \
iftex \
cmap \
savetrees \
moderncv \
caption \
comment \
kpfonts \
libertine \
newpx \
todonotes \
ec \
soul \
subfig \
xstring \
mdwtools \
forest \
import \
l3packages \
l3kernel \
inlinedef \
doublestroke \
wrapfig \
pgfopts
# Keep no backups (not required, simply makes cache bigger)
tlmgr option -- autobackup 0
# Update the TL install but add nothing new
tlmgr update --self --all --no-auto-install
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment