about summary refs log tree commit diff homepage
path: root/.travis/testing-utils.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/testing-utils.sh')
-rwxr-xr-x.travis/testing-utils.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis/testing-utils.sh b/.travis/testing-utils.sh
index 29295be2..153a5546 100755
--- a/.travis/testing-utils.sh
+++ b/.travis/testing-utils.sh
@@ -21,9 +21,12 @@ if [ "${LLVM_VERSION}" != "2.9" ]; then
     if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
       sudo cp lib* /usr/lib/
       sudo cp -r include/gtest /usr/include
-    else # OSX
+    elif [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
       sudo cp lib* /usr/local/lib/
       sudo cp -r include/gtest /usr/local/include
+    else
+      echo "Unhandled TRAVIS_OS_NAME \"${TRAVIS_OS_NAME}\""
+      exit 1
     fi
 else
     # LLVM2.9 on the other hand is a pain