change os guessing

This commit is contained in:
mayeut 2015-10-10 16:50:30 +02:00
parent d92c2b2117
commit b816ac185b
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ if [ "${TRAVIS_OS_NAME:-}" == "" ]; then
# default to gcc # default to gcc
export CC=gcc export CC=gcc
fi fi
elif uname -s | grep -i CYGWIN_NT &> /dev/null; then elif uname -s | grep -i CYGWIN &> /dev/null; then
TRAVIS_OS_NAME=windows TRAVIS_OS_NAME=windows
else else
echo "Failed to guess OS"; exit 1 echo "Failed to guess OS"; exit 1