]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
.travis.yml: do not run brew upgrade
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 13 Aug 2018 19:04:56 +0000 (21:04 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 13 Aug 2018 19:30:25 +0000 (21:30 +0200)
This addresses issue with travis compilation on MacOSX.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
.travis.yml

index 4afe4ac5da9c40c90681d9840ebc7ebacb2cc6cb..72727c30bbac60a2d33a8c47f7c1cc546bf34305 100644 (file)
@@ -18,8 +18,12 @@ before_install:
   - git submodule update --init
   - if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then
         brew update;
-        brew install autoconf automake autogen libtool nettle valgrind p11-kit libtasn1 gettext;
-        brew upgrade nettle p11-kit libtasn1 gettext;
+        for pkg in autoconf automake autogen libtool nettle p11-kit libtasn1 gettext;do
+          brew install $pkg || true;
+        done;
+        for pkg in nettle p11-kit libtasn1;do
+          brew upgrade $pkg || true;
+        done;
     fi
 
 script: