[latex3-commits] [git/LaTeX3-latex3-lualibs] dev: setup travis deployment (3a1628c)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed Nov 6 14:55:17 CET 2019


Repository : https://github.com/latex3/lualibs
On branch  : dev
Link       : https://github.com/latex3/lualibs/commit/3a1628cf8b44b58e617b5d448131415344855bcd

>---------------------------------------------------------------

commit 3a1628cf8b44b58e617b5d448131415344855bcd
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Nov 6 14:55:17 2019 +0100

    setup travis deployment


>---------------------------------------------------------------

3a1628cf8b44b58e617b5d448131415344855bcd
 .gitignore  |  1 -
 .travis.yml | 43 ++++++++++++++++++++++++++++++++++++
 texlive.sh  | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 116 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index b14ac4b..af8845e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,5 @@ testing/*
 # *-merged.lua
 lualibs.pdf
 *.aux
-*.sh
 build/*
 lualibs-ctan.curlopt
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..3db66e9
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,43 @@
+language: generic
+
+
+sudo: required
+services: docker
+dist: bionic
+
+install:
+  - source texlive.sh
+
+
+cache:
+  directories:
+    - /tmp/texlive
+    - $HOME/.texlive
+
+
+script: 
+  - l3build install && l3build ctan -H --show-log-on-error
+
+deploy:
+  - provider: releases
+    api_key:
+      secure: WWrChLn5LAThh6ay2sZcNkmzyWlV9uvjfGOCg0t/VA/AjEifwIaKN3qFOF55aILUSZ81SDbMtPZXTCywIVjjZY6Pc1I3c9mViWnBSbKLrQe4Z03RdxUosn3K3fPnDZB+8lxs9r02jW8T9bCIwTNe1Bi3Sf4PqoHRpslrqDemxC6lqDn/RHWZYg5ZKL5Md9P8qHQ2Jq9Cil5RRNHgy+jleeko47JrTxWjdi+ULM1SRNZm7mJqUVI3Ko7JvaUOcWsPB4eyTVpR7hONe3/RNnd4ToO7Sh1N3/Ynz2+o+1rBJWfcxR3A8E4wcZgWsTozfCF3Mu7HU9nwdjjmxWDYx5opru1wORmeLyof61B8HOmJVdLikHKGKcwFCz7cBXwcHIhdzVYT7I772JZJfioPQFSuDDljomByaY9r3ubKsHKcvex60bNXwnmk9yHRaNDLB/9ozV8io+LVrZVYZCQHc15jxlmQIElmrhrv1SgPwiabJnESsoHsEPkI0w4zd8Hx7ngk2r79UR3pAqFHEVG1i6y/8TlFRxxOLmVaUBab3gl1QGKnzl4pNVhQwUWXV/1n1fdgl4t4eHBnNY2wc+MYp4eRThnRuo73hQt8wBEYEh8N7uAkP6p6q2xr7pAuGWALRQ5HLIgKlQZA4qyoWaNDa+ZX2AsvbVtzv06BN0GcYIhFoRY=
+    file_glob: true
+    file:
+      - build/distrib/ctan/*.zip
+    skip_cleanup: true
+    on:
+      tags: true
+      condition: $TRAVIS_TAG == *-dev
+    prerelease: true
+  - provider: releases
+    api_key:
+      secure: WWrChLn5LAThh6ay2sZcNkmzyWlV9uvjfGOCg0t/VA/AjEifwIaKN3qFOF55aILUSZ81SDbMtPZXTCywIVjjZY6Pc1I3c9mViWnBSbKLrQe4Z03RdxUosn3K3fPnDZB+8lxs9r02jW8T9bCIwTNe1Bi3Sf4PqoHRpslrqDemxC6lqDn/RHWZYg5ZKL5Md9P8qHQ2Jq9Cil5RRNHgy+jleeko47JrTxWjdi+ULM1SRNZm7mJqUVI3Ko7JvaUOcWsPB4eyTVpR7hONe3/RNnd4ToO7Sh1N3/Ynz2+o+1rBJWfcxR3A8E4wcZgWsTozfCF3Mu7HU9nwdjjmxWDYx5opru1wORmeLyof61B8HOmJVdLikHKGKcwFCz7cBXwcHIhdzVYT7I772JZJfioPQFSuDDljomByaY9r3ubKsHKcvex60bNXwnmk9yHRaNDLB/9ozV8io+LVrZVYZCQHc15jxlmQIElmrhrv1SgPwiabJnESsoHsEPkI0w4zd8Hx7ngk2r79UR3pAqFHEVG1i6y/8TlFRxxOLmVaUBab3gl1QGKnzl4pNVhQwUWXV/1n1fdgl4t4eHBnNY2wc+MYp4eRThnRuo73hQt8wBEYEh8N7uAkP6p6q2xr7pAuGWALRQ5HLIgKlQZA4qyoWaNDa+ZX2AsvbVtzv06BN0GcYIhFoRY=
+    file_glob: true
+    file:
+      - build/distrib/ctan/*.zip
+    skip_cleanup: true
+    on:
+      tags: true
+      condition: $TRAVIS_TAG != *-dev
+    prerelease: false
diff --git a/texlive.sh b/texlive.sh
new file mode 100644
index 0000000..80a83c7
--- /dev/null
+++ b/texlive.sh
@@ -0,0 +1,73 @@
+#!/bin/she -e
+
+# 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=../texlive.profile
+
+  cd ..
+fi
+tlmgr update --self 
+
+
+# Needed for any use of texlua even if not testing LuaTeX
+tlmgr install l3build latex latex-bin  luatex  latex-bin-dev
+
+# Required to build plain and LaTeX formats:
+# TeX90 plain for unpacking, pdfLaTeX, LuaLaTeX and XeTeX for tests
+tlmgr install cm etex knuth-lib tex tex-ini-files unicode-data 
+
+# various tools / dependencies of other packages
+tlmgr install ctablestack filehook ifoddpage iftex luatexbase trimspaces
+tlmgr install oberdiek etoolbox xkeyval ucharcat xstring everyhook
+tlmgr install svn-prov setspace
+
+# graphics
+tlmgr install graphics xcolor graphics-def pgf
+
+# fonts support - perhaps take here luaotfload out of the list ...
+# or is it installed as dependency anyway?
+tlmgr install fontspec microtype unicode-math luaotfload
+
+# fonts
+tlmgr install  amsfonts gnu-freefont  iwona 
+tlmgr install  lm  lm-math 
+tlmgr install  libertine fontawesome stix2-otf dejavu
+tlmgr install  libertinus-fonts 
+
+# languages
+tlmgr install  babel babel-english
+          
+
+# math
+tlmgr install  amsmath lualatex-math  
+
+# a few more packages
+tlmgr install  luacode environ adjustbox collectbox ms varwidth geometry url ulem
+
+# some packages for the documentation
+tlmgr install  standalone pgf-blur inconsolata tools caption hyperref metalogo fancyvrb 
+tlmgr install  mdwtools titlesec tocloft pdfpages listings
+
+ 
+# Assuming a 'basic' font set up, metafont is required to avoid
+# warnings with some packages and errors with others
+tlmgr install metafont mfware
+
+# 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
+





More information about the latex3-commits mailing list