Skip to content

Commit

Permalink
Merge pull request #47 from zcsizmadia/master
Browse files Browse the repository at this point in the history
Fix OSX xcode6.1 brew update and jsoncpp issues
  • Loading branch information
hudokkow committed Feb 19, 2016
2 parents bceff5a + 26e9809 commit 501f56b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,17 @@ matrix:
compiler: clang
- os: osx
osx_image: xcode7.3
- os: osx
osx_image: xcode6.1

#
# Some of the OS X images don't have cmake, contrary to what people
# on the Internet say
#
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which cmake || brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which cmake || brew install cmake ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink json-c ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install jsoncpp ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq -y libjsoncpp-dev ; fi
Expand Down

0 comments on commit 501f56b

Please sign in to comment.