From 6e09b75032a7cc9da6598ad3f1ebf950838fc4c5 Mon Sep 17 00:00:00 2001 From: Andrew Titmuss Date: Wed, 5 Oct 2016 16:39:49 +1100 Subject: [PATCH 1/2] 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 --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 8636f9aa..f6b78ed4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 From 53cb28fe9bbcb4da31a8c8250d086bfda2e070d9 Mon Sep 17 00:00:00 2001 From: Andrew Titmuss Date: Wed, 5 Oct 2016 16:44:42 +1100 Subject: [PATCH 2/2] Trying another way without `export` --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f6b78ed4..3b44b603 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,8 @@ 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 + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then PREFIX=/usr/local make install ; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo make install ; fi - time neofetch --ascii --config off --ascii_distro travis -v --test