]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
ci: use "brew bundle" instead of "brew install"
authorVincent Bernat <vincent@bernat.ch>
Sat, 27 Jun 2020 11:24:27 +0000 (13:24 +0200)
committerVincent Bernat <vincent@bernat.ch>
Sat, 27 Jun 2020 12:05:09 +0000 (14:05 +0200)
Otherwise, when a dependency is already installed and not up-to-date,
we get an error.

tests/ci/install.sh

index 51c693d04d087433e257056cdabc7ac9c7d81f30..a8ed1679f6cd0af474d5eb9ed130d2dd98f19139 100755 (executable)
@@ -5,7 +5,11 @@ set -e
 case "$(uname -s)" in
     Darwin)
         brew update
-        brew install libtool libxml2 check
+        brew bundle --file=- <<-EOS
+brew "libtool"
+brew "libxml2"
+brew "check"
+EOS
         ;;
     Linux)
         sudo apt-get -qqy update