Skip to content
Permalink
Browse files

New build system

  • Loading branch information
hmenke committed Dec 4, 2019
1 parent 2b51979 commit fab019d286fe5095d5a7668f15e5cecfaa6788d0
@@ -22,69 +22,44 @@ addons:

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

script:
- texlua build.lua manual ${version}

matrix:
include:
- env: version=luatex
script:
- cd doc/generic/pgf/version-for-luatex/en
- make latex="lualatex --interaction=nonstopmode --halt-on-error"
after_success:
- cp pgfmanual.pdf ../../
- cp pgfmanual.pdf $TRAVIS_BUILD_DIR/../
- cd ../../../../../
- texlua build.lua ctan
- cp doc/generic/pgf/version-for-luatex/en/pgfmanual.pdf ../
- bash ci/update_tlcontrib.sh
before_deploy:
- rm -rf tlnet/ tlpkg/ web2c/ texmf-dist/
- make -C .. -f ${PWD}/scripts/pgf/Makefile.pgf_release

- env: version=dvisvgm
script:
- cd doc/generic/pgf/version-for-dvisvgm/en
- touch pgfmanual.toc
- make latex="lualatex --output-format=dvi --interaction=nonstopmode --halt-on-error"
after_success:
- cd doc/generic/pgf/version-for-dvisvgm/en
- bash ../../../../../ci/update_website.sh

- env: version=dvipdfm
script:
- cd doc/generic/pgf/version-for-dvipdfm/en
- make latex="latex --interaction=nonstopmode --halt-on-error"

- env: version=dvipdfmx
script:
- cd doc/generic/pgf/version-for-dvipdfmx/en
- make latex="latex --interaction=nonstopmode --halt-on-error"

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

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

- env: version=tex4ht
script:
- cd doc/generic/pgf/version-for-tex4ht/en
- make latex='make4ht pgfmanual.tex "svg" "" "" " -interaction=nonstopmode --halt-on-error"'

- env: version=xetex
script:
- cd doc/generic/pgf/version-for-xetex/en
- make latex="xelatex --no-pdf --interaction=nonstopmode --halt-on-error"

deploy:
provider: releases
api_key: $GH_TOKEN
file_glob: true
file:
- $TRAVIS_BUILD_DIR/../pgf_*.zip
- $TRAVIS_BUILD_DIR/../pgfmanual.pdf
- pgf_*.zip
- doc/generic/pgf/version-for-luatex/en/pgfmanual.pdf
skip_cleanup: true
overwrite: true
on:

0 comments on commit fab019d

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