Skip to content

Commit

Permalink
Use TL usertree in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hmenke committed Apr 12, 2019
1 parent 09441f2 commit f7b2a4a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -17,9 +17,12 @@ addons:
- libxml-parser-perl - libxml-parser-perl
- libxml-xpath-perl - libxml-xpath-perl
- libtext-unidecode-perl - libtext-unidecode-perl
- realpath


before_script: before_script:
- git fetch --unshallow --tags - git fetch --unshallow --tags
- bash scripts/pgf/pgfrevisionfile.sh
- cat tex/generic/pgf/pgf.revision.tex


matrix: matrix:
include: include:
Expand Down
4 changes: 2 additions & 2 deletions ci/texlive.sh
Expand Up @@ -64,5 +64,5 @@ tlmgr option -- autobackup 0
tlmgr update --self --all --no-auto-install tlmgr update --self --all --no-auto-install


# Install PGF # Install PGF
cp -vr ../tex/* /tmp/texlive/texmf-dist/tex/ tlmgr init-usertree --usertree `realpath ..`
mktexlsr export TEXMFHOME=`realpath ..`
2 changes: 2 additions & 0 deletions scripts/pgf/pgfrevisionfile.sh
Expand Up @@ -4,6 +4,8 @@
# #
# The resulting macros define the current version of pgf. # The resulting macros define the current version of pgf.


set -e

LATEST_TAG=`git describe --abbrev=0 --tags` LATEST_TAG=`git describe --abbrev=0 --tags`
REVISION=`git describe --tags HEAD` REVISION=`git describe --tags HEAD`


Expand Down

0 comments on commit f7b2a4a

Please sign in to comment.