diff --git a/buildScripts/travisHomeBrewDoItAll b/buildScripts/travisHomeBrewDoItAll index 95bee7a..cbc2879 100755 --- a/buildScripts/travisHomeBrewDoItAll +++ b/buildScripts/travisHomeBrewDoItAll @@ -26,6 +26,7 @@ echo $LDFLAGS echo $CPPFLAGS which clang echo "-------------------------------------------------" +brew install llvm brew install -v python@2 brew install jq echo "-------------------------------------------------" @@ -33,9 +34,13 @@ echo $PATH echo $LDFLAGS echo $CPPFLAGS which clang +export llvmVersion=$(brew info --json=v1 llvm | jq '.[].installed[].version' | tr -d '"') +echo $llvmVersion export python2Version=$(brew info --json=v1 python@2 | jq '.[].installed[].version' | tr -d '"') echo $python2Version echo "-------------------------------------------------" +brew info llvm +brew switch llvm $llvmVersion brew info python@2 brew switch python@2 $python2Version echo "-------------------------------------------------"