Change OS guessing

This commit is contained in:
mayeut 2015-10-10 17:05:11 +02:00
parent b816ac185b
commit 9df5546838
1 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,8 @@ if [ "${TRAVIS_OS_NAME:-}" == "" ]; then
fi fi
elif uname -s | grep -i CYGWIN &> /dev/null; then elif uname -s | grep -i CYGWIN &> /dev/null; then
TRAVIS_OS_NAME=windows TRAVIS_OS_NAME=windows
elif uname -s | grep -i MINGW32 &> /dev/null; then
TRAVIS_OS_NAME=windows
else else
echo "Failed to guess OS"; exit 1 echo "Failed to guess OS"; exit 1
fi fi