[latex3-commits] [git/LaTeX3-latex3-latex2e] deploy: Enable typesetting of docs on Travis-CI (bc170e8a)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Oct 1 14:50:48 CEST 2019
Repository : https://github.com/latex3/latex2e
On branch : deploy
Link : https://github.com/latex3/latex2e/commit/bc170e8a30dac6ca10c0b2b278ae737bcbbe8c39
>---------------------------------------------------------------
commit bc170e8a30dac6ca10c0b2b278ae737bcbbe8c39
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Oct 1 11:46:02 2019 +0100
Enable typesetting of docs on Travis-CI
>---------------------------------------------------------------
bc170e8a30dac6ca10c0b2b278ae737bcbbe8c39
.travis.yml | 6 +++++-
base/build.lua | 8 ++++++--
build-config.lua | 10 ++++++++--
required/graphics/build.lua | 6 ++++++
required/tools/build.lua | 6 +++++-
support/texlive.sh | 28 ++++++++++++++++++++++++++++
6 files changed, 58 insertions(+), 6 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index b702024b..9ea6f9df 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,7 +7,11 @@ cache:
- $HOME/.texlive
script:
- - l3build check -q -H --show-log-on-error
+ include:
+ - script: l3build check -q -H --show-log-on-error
+ name: "Test suite"
+ - script: l3build doc -q -H --show-log-on-error
+ name: "Documentation"
notifications:
email:
diff --git a/base/build.lua b/base/build.lua
index 4076f086..7e5ec25e 100644
--- a/base/build.lua
+++ b/base/build.lua
@@ -130,9 +130,13 @@ unpacksuppfiles =
-- Custom settings for the check system
testsuppdir = "testfiles/helpers"
--- No dependencies at all (other than l3build of course)
+-- No dependencies at all (other than l3build and for typesetting)
checkdeps = { }
-typesetdeps = { }
+typesetdeps =
+ {
+ maindir .. "/required/graphics",
+ maindir .. "/required/tool"
+ }
unpackdeps = { }
-- Customise typesetting
diff --git a/build-config.lua b/build-config.lua
index bcea0550..6790f4f6 100644
--- a/build-config.lua
+++ b/build-config.lua
@@ -3,7 +3,12 @@
-- The LaTeX2e kernel is needed by everything except 'base'
-- There is an over-ride for that case
checkdeps = checkdeps or {maindir .. "/base"}
-typesetdeps = typesetdeps or {maindir .. "/base"}
+typesetdeps = typesetdeps or
+ {
+ maindir .. "/base",
+ maindir .. "/required/graphics",
+ maindir .. "/required/tool"
+ }
unpackdeps = unpackdeps or {maindir .. "/base"}
-- We really need 3 on most files (toc + references)
@@ -19,7 +24,8 @@ checksuppfiles = checksuppfiles or
{"color.cfg", "graphics.cfg", "test209.tex", "test2e.tex", "xetex.def", "dvips.def", "lipsum.sty", "*.txt", "lualibs*.lua", "fontloader*.lua", "luaotfload*.lua", "luaotfloat.sty"}
stdengine = stdengine or "etex"
tagfiles = tagfiles or {"*.dtx","*.ins","*.tex","README.md"}
-typesetsuppfiles = typesetsuppfiles or {"ltxdoc.cfg", "ltxguide.cfg"}
+typesetsuppfiles = typesetsuppfiles or
+ {"color.cfg", "graphics.cfg", "ltxdoc.cfg", "ltxguide.cfg"}
-- Ensure the local format file is used
typesetexe = 'pdftex -interaction=nonstopmode "&pdflatex"'
diff --git a/required/graphics/build.lua b/required/graphics/build.lua
index 80314ea8..62d54794 100644
--- a/required/graphics/build.lua
+++ b/required/graphics/build.lua
@@ -17,6 +17,12 @@ installfiles = {"*.def", "*.sty"}
typesetfiles = {"*.dtx", "*.tex"}
docfiles = {"cat.eps"}
+checkdeps =
+ {
+ maindir .. "/base",
+ maindir .. "/required/tools"
+ }
+
-- Load the common settings for the LaTeX2e repo
dofile (maindir .. "/build-config.lua")
diff --git a/required/tools/build.lua b/required/tools/build.lua
index ea6d4711..887a6ded 100644
--- a/required/tools/build.lua
+++ b/required/tools/build.lua
@@ -19,7 +19,11 @@ unpackfiles = {"tools.ins"}
sourcefiles = {"*.dtx", "*.ins", "*-????-??-??.sty"}
-checkdeps = {maindir .. "/base", maindir .. "/required/graphics"}
+checkdeps =
+ {
+ maindir .. "/base",
+ maindir .. "/required/graphics"
+ }
-- Allow for test searching the tree
checkconfigs = {"build","config-search"}
diff --git a/support/texlive.sh b/support/texlive.sh
index 2e805401..0da55604 100644
--- a/support/texlive.sh
+++ b/support/texlive.sh
@@ -47,6 +47,34 @@ tlmgr install \
luaotfload \
url
+# Additional support for typesetting
+tlmgr install \
+ amscls \
+ cbfonts \
+ csquotes \
+ dvips \
+ epstopdf \
+ etoolbox \
+ fancyvrb \
+ fc \
+ geometry \
+ graphics-def \
+ helvetic \
+ ifluatex \
+ imakeidx \
+ ly1 \
+ makeindex \
+ mflogo \
+ palatino \
+ pl \
+ sauter \
+ tabularx \
+ times \
+ vntex \
+ wasy \
+ wsuipa \
+ xkeyval
+
# Keep no backups (not required, simply makes cache bigger)
tlmgr option -- autobackup 0
More information about the latex3-commits
mailing list