diff options
Diffstat (limited to 'Build/source')
-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 |