[PATCH v3 4/6] travis: use declarative syntax for homebrew packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 .travis.yml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 6d04201e59..fe9bda82a9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,6 +5,14 @@ branches:
   except:
     - /^.*-maint$/
 
+addons:
+  homebrew:
+    packages:
+      - ccache
+      - rpcgen
+      - xz
+      - yajl
+
 matrix:
   include:
     - services:
@@ -52,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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux