Ensure CI_OS_NAME is set for appveyor server

This commit is contained in:
Michael Vines 2019-07-19 14:11:01 -07:00
parent 48fc35884c
commit 6969ece2dd
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
2 changed files with 3 additions and 2 deletions

View File

@ -59,7 +59,7 @@ if [[ -n $CI ]]; then
fi
if [[ $CI_LINUX = True ]]; then
export CI_OS_NAME=linux
elif [[ $CI_WINDOWS = True ]]; then
else
export CI_OS_NAME=windows
fi
export CI_REPO_SLUG=$APPVEYOR_REPO_NAME

View File

@ -49,7 +49,8 @@ windows)
TARGET=x86_64-pc-windows-msvc
;;
*)
TARGET=unknown-unknown-unknown
echo CI_OS_NAME unset
exit 1
;;
esac