[libvirt] [PATCH v4 3/7] travis: use declarative syntax for Homebrew packages

Daniel P. Berrangé berrange at redhat.com
Wed Apr 3 10:41:44 UTC 2019


Instead of running custom commands use the new declarative syntax for
listing extra Homebrew packages.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
 .travis.yml | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 90a52c7f08..47757ccfc9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,6 +5,15 @@ branches:
   except:
     - /^.*-maint$/
 
+addons:
+  homebrew:
+    update: true
+    packages:
+      - ccache
+      - rpcgen
+      - xz
+      - yajl
+
 matrix:
   include:
     - services:
@@ -51,8 +60,6 @@ env:
     # 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="
-        brew update &&
-        brew install ccache rpcgen xz yajl &&
         ./autogen.sh --prefix=\$(pwd)/install-root &&
         make -j3 &&
         make -j3 install &&
-- 
2.20.1




More information about the libvir-list mailing list