[latex3-commits] [l3svn] branch master updated: Minimise Travis-CI set up
noreply at latex-project.org
noreply at latex-project.org
Thu Jun 16 22:49:49 CEST 2016
This is an automated email from the git hooks/post-receive script.
joseph pushed a commit to branch master
in repository l3svn.
The following commit(s) were added to refs/heads/master by this push:
new dd92fe4 Minimise Travis-CI set up
dd92fe4 is described below
commit dd92fe46b772af07fd4324f72c6a20227e1918db
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu Jun 16 21:48:46 2016 +0100
Minimise Travis-CI set up
The TL team have added some new facilities to help here.
There may be a couple of cycles to get everything working here!
Further minimisation of the packages listed may follow: I'll
report back to the TL team re. dependencies.
---
support/texlive.profile | 2 +-
support/texlive.sh | 99 ++++++++++++++++++++++++-----------------------
2 files changed, 52 insertions(+), 49 deletions(-)
diff --git a/support/texlive.profile b/support/texlive.profile
index 1b4632a..60905b4 100644
--- a/support/texlive.profile
+++ b/support/texlive.profile
@@ -1,4 +1,4 @@
-selected_scheme scheme-minimal
+selected_scheme scheme-infraonly
TEXDIR /tmp/texlive
TEXMFCONFIG ~/.texlive/texmf-config
TEXMFHOME ~/texmf
diff --git a/support/texlive.sh b/support/texlive.sh
index e7c76da..b328a67 100644
--- a/support/texlive.sh
+++ b/support/texlive.sh
@@ -2,11 +2,10 @@
# This script is used for testing using Travis
# It is intended to work on their VM set up: Ubuntu 12.04 LTS
-# As such, the nature of the system is hard-coded
# A minimal current TL is installed adding only the packages that are
# required
-# See if there is a cached verson of TL available
+# 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
@@ -18,79 +17,83 @@ if ! command -v texlua > /dev/null; then
./install-tl --profile=../support/texlive.profile
cd ..
-
- # Core requirements for the test system
- tlmgr install babel babel-english latex latex-bin latex-fonts latexconfig \
- xetex
- tlmgr install --no-depends ptex uptex ptex-base uptex-base ptex-fonts \
- uptex-fonts platex uplatex
fi
-# 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
+# Absolutely required as it includes fmtutil-sys
+tlmgr install tetex
+
+# Needed for any use of texlua even if not testing LuaTeX
+tlmgr install luatex
+
+# Required to build plain and LaTeX formats:
+# TeX90 plain for unpacking, pdfLaTeX, LuaLaTeX and XeTeX for tests
+tlmgr install cm etex knuth-lib latex-bin tex tex-ini-files unicode-data \
+ xetex
+
+# Additional requirements for (u)pLaTeX, done with no dependencies to
+# avoid large font payloads
+tlmgr install --no-depends babel ptex uptex ptex-base uptex-base ptex-fonts \
+ uptex-fonts platex uplatex
-# Dependencies
-tlmgr install \
+# Assuming a 'basic' font set up, metafont is required to avoid
+# warnings with some packages and errors with others
+tlmgr install metafont mfware
+
+# Additional packages needed to test xor
+tlmgr install courier dvips psnfss times tools url
+
+# Contrib packages for testing
+#
+# The packages themselves are done with --no-depends to avoid
+# picking up l3kernel, etc.
+#
+# fontspec comes first as other packages tested have it as a dep
+tlmgr install --no-depends fontspec
+tlmgr install euenc graphics-cfg ifluatex lm lualibs luaotfload luatex-def \
+ oberdiek pdftex-def xetex-def xunicode
+
+# Other contrib packages: done as a block to avoid multiple calls to tlmgr
+# Dependencies other than the core l3build set up, metafont, fontspec and the
+# 'graphics stack' (itself needed by fontspec) are listed below
+tlmgr install --no-depends \
+ chemformula \
+ ctex \
+ mhchem \
+ siunitx \
+ unicode-math
+tlmgr install --no-depends cjk
+tlmgr install \
adobemapping \
+ amsfonts \
amsmath \
chemgreek \
cjkpunct \
ctablestack \
- courier \
ec \
environ \
etoolbox \
- euenc \
- everyhook \
fandol \
filehook \
- graphics \
- graphics-cfg \
- lm \
+ ifxetex \
lm-math \
lualatex-math \
- lualibs \
- luatex-def \
luatexbase \
luatexja \
- luaotfload \
- mptopdf \
+ metafont \
ms \
- oberdiek \
- pdftex-def \
pgf \
- psnfss \
- svn-prov \
- times \
tools \
trimspaces \
ucharcat \
ulem \
units \
- url \
xcolor \
xecjk \
- xetex-def \
- xkeyval \
- xunicode \
zhmetrics \
zhnumber
-tlmgr install --no-depends cjk
-# Contrib packages for testing: force no deps
-tlmgr install --no-depends \
- chemformula \
- ctex \
- fontspec \
- mhchem \
- siunitx \
- unicode-math
+# Keep no backups (not required, simply makes cache bigger)
+tlmgr option -- autobackup 0
-# Other bits and pieces
-mkdir -p `kpsewhich -var-value TEXMFHOME`/fonts/cid/fontforge
-cp ./support/Adobe-GB1-4.cidmap \
- `kpsewhich -var-value TEXMFHOME`/fonts/cid/fontforge
-cp /tmp/texlive/texmf-var/fonts/conf/texlive-fontconfig.conf \
- ~/.fonts.conf
+# Update the TL install but add nothing new
+tlmgr update --self --all --no-auto-install
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list