about summary refs log tree commit diff homepage
path: root/.travis/install-llvm-and-runtime-compiler.sh
diff options
context:
space:
mode:
authorAndrea Mattavelli <andreamattavelli@users.noreply.github.com>2017-03-31 12:25:32 +0100
committerGitHub <noreply@github.com>2017-03-31 12:25:32 +0100
commit2a2e972e8d287e61ad40b1cc14165b5eff482fc4 (patch)
treeb1e5bf959762fdac829426f542e72555aa038567 /.travis/install-llvm-and-runtime-compiler.sh
parentc08cb14c6767bfab9d56772771e3538b46b8bd4a (diff)
parent31d7fa412c673d2e2b0f9fe2abf32afa1b105d5e (diff)
downloadklee-2a2e972e8d287e61ad40b1cc14165b5eff482fc4.tar.gz
Merge pull request #637 from delcypher/docker_fix
[Docker] Unbreak build.
Diffstat (limited to '.travis/install-llvm-and-runtime-compiler.sh')
-rwxr-xr-x.travis/install-llvm-and-runtime-compiler.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis/install-llvm-and-runtime-compiler.sh b/.travis/install-llvm-and-runtime-compiler.sh
index de6f9bbd..8e8e9863 100755
--- a/.travis/install-llvm-and-runtime-compiler.sh
+++ b/.travis/install-llvm-and-runtime-compiler.sh
@@ -29,7 +29,7 @@ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
     llvm-gcc/bin/llvm-gcc test.c -o hello_world
     ./hello_world
   fi
-else # OSX
+elif [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
   # NOTE: We should not easily generalize, since we need the corresponding support of bottled formulas
   if [ "${LLVM_VERSION}" == "3.4" ]; then
     brew install llvm34
@@ -37,4 +37,7 @@ else # OSX
     echo "Error: Requested to install LLVM ${LLVM_VERSION} on macOS, which is not supported"
     exit 1
   fi
+else
+  echo "Unhandled TRAVIS_OS_NAME \"${TRAVIS_OS_NAME}\""
+  exit 1
 fi