mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 14:56:10 +01:00
Stop using brew if not needed -- fix build on XCode9 image
This commit is contained in:
parent
e3941a9ad2
commit
20211a33e6
@ -193,13 +193,7 @@ install:
|
|||||||
mkdir cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
|
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}
|
export PATH=${DEPS_DIR}/cmake/bin:${PATH}
|
||||||
elif [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
|
elif [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
|
||||||
for pkg in cmake lcov; do
|
which cmake || brew install cmake;
|
||||||
if brew list -1 | grep -q "^${pkg}\$"; then
|
|
||||||
brew outdated $pkg || brew upgrade $pkg;
|
|
||||||
else
|
|
||||||
brew install $pkg;
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
Loading…
Reference in New Issue
Block a user