travis: fix brew ls command.

pull/1356/head
Kim Kulling 2017-07-21 18:55:25 +02:00
parent e7afc8baf3
commit 501f09307c
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ language: cpp
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq && sudo apt-get install cmake && sudo apt-get install cmake python3 && sudo apt-get install -qq freeglut3-dev libxmu-dev libxi-dev ; echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca- ; fi
- 'if [ "$TRAVIS_OS_NAME" = "osx" ]; then
if brew ls versions cmake > /dev/null/; then
if brew ls --versions cmake > /dev/null/; then
echo cmake already installed.;
else
brew install cmake;