]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
travis: put macOS script inline in the macOS matrix entry
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 27 Mar 2019 10:53:05 +0000 (10:53 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 11 Apr 2019 17:38:56 +0000 (18:38 +0100)
Now that we don't have separate scripts defined for native and mingw
builds, there is no point having one for macOS. It can just be inlined
at the one place it is needed.

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
.travis.yml

index 8cf356a8b1f11ba49dee9df59b380f95d3568a06..b510c810835f2f8447e87ba03d38a96e352f5ec5 100644 (file)
@@ -50,22 +50,13 @@ matrix:
       env:
         - PATH="/usr/local/opt/gettext/bin:/usr/local/opt/ccache/libexec:/usr/local/opt/rpcgen/bin:$PATH"
       script:
-        /bin/sh -xc "$MACOS_CMD"
+        # We can't run 'distcheck' or 'syntax-check' because they fail on
+        # macOS, but doing 'install' and 'dist' gives us some useful coverage
+        - ./autogen.sh --prefix=$(pwd)/install-root && make -j3 && make -j3 install && make -j3 dist
 
 git:
   submodules: true
 
-env:
-  global:
-    # We can't run 'distcheck' or 'syntax-check' because they fail on
-    # macOS, but doing 'install' and 'dist' gives us some useful coverage
-    - MACOS_CMD="
-        ./autogen.sh --prefix=\$(pwd)/install-root &&
-        make -j3 &&
-        make -j3 install &&
-        make -j3 dist
-      "
-
 notifications:
   irc:
     # The channel name "irc.oftc.net#virt" is encrypted against libvirt/libvirt