[travis] fix linux setup

This commit is contained in:
Dane Springmeyer
2014-06-04 18:38:59 -07:00
parent e1a8d7ddc7
commit f6df8bd54a

View File

@@ -7,7 +7,7 @@ set -o pipefail
if [[ "${TRAVIS_OS_NAME:-false}" == false ]]; then
if [[ $(uname -s) == "Darwin" ]]; then
TRAVIS_OS_NAME="osx"
elif [[ $(uname -s) == "Darwin" ]]; then
elif [[ $(uname -s) == "Linux" ]]; then
TRAVIS_OS_NAME="linux"
fi
fi
@@ -27,7 +27,7 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
export CXX="g++-4.8" ;
fi
# Tf building in debug then turn on sanitizers.
# If building in debug then turn on sanitizers.
# They should both work with latest g++/clang++
# but it's not worth a standalone matrix so here
# we just test address->gcc and thread->clang for