texlive[47219] trunk: some .travis games, grab i386-linux from

commits+preining at tug.org commits+preining at tug.org
Sun Apr 1 04:57:00 CEST 2018


Revision: 47219
          http://tug.org/svn/texlive?view=revision&revision=47219
Author:   preining
Date:     2018-04-01 04:57:00 +0200 (Sun, 01 Apr 2018)
Log Message:
-----------
some .travis games, grab i386-linux from travis, too

Modified Paths:
--------------
    trunk/Build/source/.travis.yml
    trunk/Master/tlpkg/bin/tl-update-bindir

Modified: trunk/Build/source/.travis.yml
===================================================================
--- trunk/Build/source/.travis.yml	2018-04-01 02:38:10 UTC (rev 47218)
+++ trunk/Build/source/.travis.yml	2018-04-01 02:57:00 UTC (rev 47219)
@@ -72,8 +72,11 @@
       - 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"
 
+# 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/* inst/bin/$tldir ; tar czvf ${package} -C inst/bin .; fi
+  - 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

Modified: trunk/Master/tlpkg/bin/tl-update-bindir
===================================================================
--- trunk/Master/tlpkg/bin/tl-update-bindir	2018-04-01 02:38:10 UTC (rev 47218)
+++ trunk/Master/tlpkg/bin/tl-update-bindir	2018-04-01 02:57:00 UTC (rev 47219)
@@ -143,7 +143,9 @@
    i386-linux)
     #default_bin_loc=/tmp/lin32.tgz;;
     default_bin_loc=$download_loc
-    $grab http://dl.contextgarden.net/build/texlive/$tlplat.tar.xz;;
+    # remurl=http://dl.contextgarden.net/build/texlive/$tlplat.tar.xz
+    remurl=`curl -s https://api.github.com/repos/TeX-Live/texlive-source/releases/latest | grep browser_download_url | grep texlive-bin-i386-linux.tar.gz | cut -d : -f 2,3 | tr -d \"`
+    $grab $remurl;;
    i386-linuxmusl)
     default_bin_loc=$download_loc
     remurl=`curl -s https://api.github.com/repos/TeX-Live/texlive-source/releases/latest | grep browser_download_url | grep texlive-bin-i386-musl.tar.gz | cut -d : -f 2,3 | tr -d \"`



More information about the tex-live-commits mailing list