]> granicus.if.org Git - curl/commitdiff
travis: move the go install to linux-only
authorJay Satiro <raysatiro@yahoo.com>
Wed, 25 Sep 2019 12:34:31 +0000 (14:34 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 25 Sep 2019 12:34:31 +0000 (14:34 +0200)
... to repair the build again
Closes #4403

.travis.yml

index fd7e54ed22944d9ff91e3a14e02beadb534fde83..ed665a96da1be8a7ef572ea2fe3326a8d9006e23 100644 (file)
@@ -86,6 +86,11 @@ matrix:
         - os: linux
           compiler: gcc
           dist: xenial
+          before_install:
+              # Install and use the current stable release of Go
+              - gimme --list
+              - eval "$(gimme stable)"
+              - gimme --list
           env:
               - T=novalgrind BORINGSSL=yes C="--with-ssl=$HOME/boringssl" LD_LIBRARY_PATH=/home/travis/boringssl/lib:/usr/local/lib
               - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
@@ -99,6 +104,11 @@ matrix:
         - os: linux
           compiler: gcc
           dist: xenial
+          before_install:
+              # Install and use the current stable release of Go
+              - gimme --list
+              - eval "$(gimme stable)"
+              - gimme --list
           env:
               - T=novalgrind BORINGSSL=yes QUICHE="yes" C="--with-ssl=$HOME/boringssl --with-quiche=$HOME/quiche/target/release --enable-alt-svc" LD_LIBRARY_PATH=/home/travis/boringssl/lib:$HOME/quiche/target/release:/usr/local/lib
               - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
@@ -411,10 +421,6 @@ matrix:
 before_install:
     - eval "${OVERRIDE_CC}"
     - eval "${OVERRIDE_CXX}"
-    # Install and use the current stable release of Go
-    - gimme --list
-    - eval "$(gimme stable)"
-    - gimme --list
 
 install:
   - if [ "$T" = "coverage" ]; then pip2 install --user cpp-coveralls; fi