1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-13 08:58:33 +03:00

travis: use declarative syntax for Homebrew packages

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

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2019-03-27 10:50:18 +00:00
parent d66ac6e525
commit a3005a88ac

View File

@ -5,6 +5,15 @@ branches:
except: except:
- /^.*-maint$/ - /^.*-maint$/
addons:
homebrew:
update: true
packages:
- ccache
- rpcgen
- xz
- yajl
matrix: matrix:
include: include:
- services: - services:
@ -51,8 +60,6 @@ env:
# We can't run 'distcheck' or 'syntax-check' because they fail on # We can't run 'distcheck' or 'syntax-check' because they fail on
# macOS, but doing 'install' and 'dist' gives us some useful coverage # macOS, but doing 'install' and 'dist' gives us some useful coverage
- MACOS_CMD=" - MACOS_CMD="
brew update &&
brew install ccache rpcgen xz yajl &&
./autogen.sh --prefix=\$(pwd)/install-root && ./autogen.sh --prefix=\$(pwd)/install-root &&
make -j3 && make -j3 &&
make -j3 install && make -j3 install &&