diff options
author | Norbert Preining <preining@logic.at> | 2018-04-01 23:44:37 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2018-04-01 23:44:37 +0000 |
commit | 2b3ca8c76d0812646ecaac127189335cddbc9fec (patch) | |
tree | 042fe2781a4129f892948b4fb287a3292d4bddcb /Build | |
parent | ee1384c041533399dcf8305281e516701ac4a77b (diff) |
updates to travis
git-svn-id: svn://tug.org/texlive/trunk@47236 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/.travis.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Build/source/.travis.yml b/Build/source/.travis.yml index e9230fb038a..957b951ef41 100644 --- a/Build/source/.travis.yml +++ b/Build/source/.travis.yml @@ -13,6 +13,7 @@ # language: c +sudo: required before_script: - find . -name \*.info -exec touch '{}' \; @@ -58,25 +59,25 @@ matrix: env: - tldir=x86_64-linux - package=texlive-bin-x86_64-linux.tar.gz - script: docker run -v ${TRAVIS_BUILD_DIR}:/texlive -w /texlive -i -t debian:jessie sh -c "apt-get update; apt-get install -y --no-install-recommends bash gcc g++ make perl libfontconfig-dev libx11-dev libxmu-dev libxaw7-dev build-essential ; ./Build -C" + script: docker run -e TL_MAKE_FLAGS="${TL_MAKE_FLAGS}" -v ${TRAVIS_BUILD_DIR}:/texlive -w /texlive -i -t debian:jessie sh -c "apt-get update; apt-get install -y --no-install-recommends bash gcc g++ make perl libfontconfig-dev libx11-dev libxmu-dev libxaw7-dev build-essential ; ./Build -C" - os: linux services: docker env: - tldir=i386-linux - package=texlive-bin-i386-linux.tar.gz - script: docker run -v ${TRAVIS_BUILD_DIR}:/texlive -w /texlive -i -t i386/debian:jessie sh -c "apt-get update; apt-get install -y --no-install-recommends bash gcc g++ make perl libfontconfig-dev libx11-dev libxmu-dev libxaw7-dev build-essential ; ./Build -C" + script: docker run -e TL_MAKE_FLAGS="${TL_MAKE_FLAGS}" -v ${TRAVIS_BUILD_DIR}:/texlive -w /texlive -i -t i386/debian:jessie sh -c "apt-get update; apt-get install -y --no-install-recommends bash gcc g++ make perl libfontconfig-dev libx11-dev libxmu-dev libxaw7-dev build-essential ; ./Build -C" - 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 -C" + script: docker run -e TL_MAKE_FLAGS="${TL_MAKE_FLAGS}" -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 -C" # somehow all binaries are always put into x86_64-pc-linux-gnu, probably because # this is the architecture travis-ci is running on. # Rename to the currently built architecture before_deploy: - - if [ -n "$package" ]; then mv inst/bin/x86_64-pc-linux-gnu inst/bin/$tldir ; tar czvf ${package} -C inst/bin .; fi + - if [ -n "$package" ]; then sudo mv inst/bin/* inst/bin/$tldir ; tar czvf ${package} -C inst/bin .; fi deploy: provider: releases |