]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
travis: Move variables to 'env' section
authorAndrea Bolognani <abologna@redhat.com>
Wed, 6 Sep 2017 13:57:47 +0000 (15:57 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 14 Sep 2017 14:59:24 +0000 (16:59 +0200)
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
.travis.yml

index 8831f742c668bb65d764b58d53ba61075645f2da..367baf8618401e4975c658bce6df3b6b5031ffc5 100644 (file)
@@ -60,14 +60,20 @@ git:
   depth: 5
   submodules: true
 
+env:
+  global:
+    # The custom $PATH is just to pick up some extra binaries installed
+    # through homebrew on macOS and it's completely harmless on Linux
+    - PATH="/usr/local/opt/gettext/bin:/usr/local/opt/rpcgen/bin:$PATH"
+    - VIR_TEST_DEBUG=1
+
 before_install:
   - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update && brew install gnutls libgcrypt yajl gettext rpcgen ; fi
 
-# the custom PATH is just to pick up OS-X homebrew & its harmless on Linux
 before_script:
-  - PATH="/usr/local/opt/gettext/bin:/usr/local/opt/rpcgen/bin:$PATH" ./autogen.sh
+  - ./autogen.sh
 script:
-  - VIR_TEST_DEBUG=1 make -j3 && make -j3 syntax-check && make -j3 check
+  - make -j3 && make -j3 syntax-check && make -j3 check
 
 # Environments here are run in addition to the main environment defined above
 matrix: