travis: don't (re)install python
authorEric Engestrom <eric.engestrom@intel.com>
Fri, 18 Oct 2019 14:03:43 +0000 (15:03 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Fri, 18 Oct 2019 14:27:37 +0000 (15:27 +0100)
The new Mac OS X images apparently already have python2 and python3,
and `brew` considers asking to install something already installed
as a fatal error...

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
.travis.yml

index 97720cf118ac24fa819504878f71952f63e7fd9f..cc4d0b260d6fd9735166b23df4a9293562a8d557 100644 (file)
@@ -19,10 +19,10 @@ matrix:
 before_install:
   - HOMEBREW_NO_AUTO_UPDATE=1 brew install expat gettext
   - if test "x$BUILD" = xmeson; then
-      HOMEBREW_NO_AUTO_UPDATE=1 brew install python3 ninja;
+      HOMEBREW_NO_AUTO_UPDATE=1 brew install ninja;
     fi
   - if test "x$BUILD" = xscons; then
-      HOMEBREW_NO_AUTO_UPDATE=1 brew install python2 scons;
+      HOMEBREW_NO_AUTO_UPDATE=1 brew install scons;
     fi
 
   # Set PATH for homebrew pip3 installs