Fix TravisCI for macOS build

Travis updated the macOS build server to El Capitan, which means it has SIP now. Prefix changed to /usr/local to mitigate this
This commit is contained in:
Andrew Titmuss 2016-10-05 16:39:49 +11:00 committed by GitHub
parent e86ce55822
commit 6e09b75032

View file

@ -8,6 +8,7 @@ os:
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install screenresolution; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PREFIX=/usr/local ; fi
script:
- sudo make install