Permalink
Browse files

Stop using brew if not needed -- fix build on XCode9 image

  • Loading branch information...
horenmar committed Nov 27, 2017
1 parent e3941a9 commit 20211a33e6ffa6151a342b77beb62f37f42bc996
Showing with 1 addition and 7 deletions.
  1. +1 −7 .travis.yml
View
@@ -193,13 +193,7 @@ install:
mkdir cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
export PATH=${DEPS_DIR}/cmake/bin:${PATH}
elif [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
for pkg in cmake lcov; do
if brew list -1 | grep -q "^${pkg}\$"; then
brew outdated $pkg || brew upgrade $pkg;
else
brew install $pkg;
fi
done
which cmake || brew install cmake;
fi
before_script:

0 comments on commit 20211a3

Please sign in to comment.