Skip to content
Permalink
Browse files

Continuous integration

  • Loading branch information...
hmenke committed Jan 1, 2019
1 parent a16522b commit 17d9dc9a553cbdb2590500bd7c20db725c354704
Showing with 143 additions and 0 deletions.
  1. +64 −0 .travis.yml
  2. +10 −0 ci/texlive.profile
  3. +68 −0 ci/texlive.sh
  4. +1 −0 scripts/pgf/Makefile.pgf_release
@@ -0,0 +1,64 @@
language: generic

install:
- cd ci/
- source texlive.sh
- cd ..

cache:
directories:
- /tmp/texlive
- $HOME/.texlive

addons:
apt:
packages:
- ghostscript

matrix:
include:
- env: version=dvipdfm
script:
- cd doc/generic/pgf/version-for-dvipdfm/en
- make latex="latex --interaction=nonstopmode"

- env: version=dvidfmx
script:
- cd doc/generic/pgf/version-for-dvipdfmx/en
- make latex="latex -shell-escape --interaction=nonstopmode"

- env: version=dvips
script:
- cd doc/generic/pgf/version-for-dvips/en
- make latex="latex --interaction=nonstopmode"

- env: version=dvisvgm
script:
- cd doc/generic/pgf/version-for-dvisvgm/en
- touch pgfmanual.toc
- make latex="lualatex --output-format=dvi --interaction=nonstopmode"

- env: version=luatex
script:
- cd doc/generic/pgf/version-for-luatex/en
- make latex="lualatex --interaction=nonstopmode"

- env: version=pdftex
script:
- cd doc/generic/pgf/version-for-pdftex/en
- make latex="pdflatex --interaction=nonstopmode"

# - env: version=tex4ht
# script:
# - cd doc/generic/pgf/version-for-tex4ht/en
# - make

# - env: version=vtex
# script:
# - cd doc/generic/pgf/version-for-vtex/en
# - make

- env: version=xetex
script:
- cd doc/generic/pgf/version-for-xetex/en
- make latex="xelatex --no-pdf --interaction=nonstopmode"
@@ -0,0 +1,10 @@
selected_scheme scheme-infraonly
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
@@ -0,0 +1,68 @@
#!/usr/bin/env sh

export PATH=/tmp/texlive/bin/x86_64-linux:$PATH

# Check for cached version
if ! command -v texlua > /dev/null; then
# Obtain TeX Live
curl -LO 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=../texlive.profile

cd ..
fi

# Install all the required packages
tlmgr install \
amsfonts \
amsmath \
courier \
ctablestack \
dvipdfmx \
dvips \
dvisvgm \
ec \
fp \
geometry \
graphics \
graphics-def \
hyperref \
ifluatex \
ifxetex \
latex \
latex-bin \
listings \
lm \
luainputenc \
luatex \
luatexbase \
makeindex \
metafont \
mfware \
ms \
oberdiek \
psnfss \
symbol \
tex4ht \
texlive-scripts \
times \
todonotes \
tools \
url \
xcolor \
xetex \
xkeyval \
zapfding

# 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

# Install PGF
cp -vr ../tex/* /tmp/texlive/texmf-dist/tex/
mktexlsr
@@ -75,6 +75,7 @@ $(ZIP): FORCE
make -C /tmp/pgf/doc/generic/pgf/version-for-pdftex/en clean
# now restructure to get TDS:
cd /tmp/pgf; \
rm -rf ci; \
rm -rf experiments; \
rm -rf scripts; \
rm README; \

0 comments on commit 17d9dc9

Please sign in to comment.
You can’t perform that action at this time.