build: Fix travis osx issue with brew update

Bug in Homebrew auto-update causes post-update install to use the old
environment.

Change-Id: I03e20d899f558f71579dfd4be3f96903b77f1998
Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
This commit is contained in:
Greg Tucker 2019-10-30 11:16:49 -07:00
parent 621cf92c52
commit 4ed944c4b1

View File

@ -97,6 +97,7 @@ before_install:
before_script:
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -q update; fi
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install yasm; fi
- if [ $TRAVIS_OS_NAME = osx ]; then brew update; fi
- if [ $TRAVIS_OS_NAME = osx ]; then brew install yasm; fi
script: