# .travis.yml for texlive-source CI building # Norbert Preining # Henri Menke # Public Domain # # This file controls CI testing on Travis-CI # https://travis-ci.org/TeX-Live/texlive-source/ # via a git-svn checkout of the TeX Live source directory # which is pushed to Github # https://github.com/TeX-Live/texlive-source # The cron job that does the git svn up and git push is # running on texlive.info # language: c before_script: - find . -name \*.info -exec touch '{}' \; - touch ./texk/detex/detex-src/detex.c - touch ./texk/detex/detex-src/detex.h - touch ./texk/gregorio/gregorio-src/src/gabc/gabc-score-determination.c - touch ./texk/gregorio/gregorio-src/src/gabc/gabc-score-determination.h - touch ./texk/gregorio/gregorio-src/src/vowel/vowel-rules.h - touch ./texk/web2c/omegafonts/pl-lexer.c - touch ./texk/web2c/omegafonts/pl-parser.c - touch ./texk/web2c/omegafonts/pl-parser.h - touch ./texk/web2c/otps/otp-lexer.c - touch ./texk/web2c/otps/otp-parser.c - touch ./texk/web2c/otps/otp-parser.h - touch ./texk/web2c/web2c/web2c-lexer.c - touch ./texk/web2c/web2c/web2c-parser.c - touch ./texk/web2c/web2c/web2c-parser.h - touch ./utils/asymptote/camp.tab.cc - touch ./utils/asymptote/camp.tab.h - touch ./utils/lacheck/lacheck.c - touch ./utils/xindy/xindy-src/tex2xindy/tex2xindy.c env: global: - TL_MAKE_FLAGS="-j 2" matrix: include: - os: linux addons: apt: packages: - libfontconfig-dev - libx11-dev - libxmu-dev - libxaw7-dev script: ./Build - os: linux services: docker env: - tldir=x86_64-linuxmusl - package=texlive-bin-x86_64-musl.tar.gz script: docker run -v ${TRAVIS_BUILD_DIR}:/texlive -w /texlive -i -t alpine:3.1 sh -c "apk update; apk add --no-progress bash gcc g++ make perl fontconfig-dev libx11-dev libxmu-dev libxaw-dev; ./Build" - os: linux services: docker env: - tldir=i386-linuxmusl - package=texlive-bin-i386-musl.tar.gz script: docker run -v ${TRAVIS_BUILD_DIR}:/texlive -w /texlive -i -t i386/alpine:3.1 sh -c "apk update; apk add --no-progress bash gcc g++ make perl fontconfig-dev libx11-dev libxmu-dev libxaw-dev; ./Build" before_deploy: - if [ -n "$package" ]; then mv inst/bin/x86_64-pc-linux-gnu inst/bin/$tldir ; tar czvf ${package} -C inst/bin .; fi deploy: provider: releases api_key: $GH_TOKEN file: $package skip_cleanup: true on: tags: true condition: $package != ""