fix logic

This commit is contained in:
Jay Lee
2020-03-29 18:00:45 -04:00
parent cbdaa143ea
commit c29fc410ad

View File

@@ -100,16 +100,16 @@ jobs:
before_install: before_install:
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then - if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
export GAMOS="macos"; export GAMOS="macos"
else else
export GAMOS="${TRAVIS_OS_NAME}"; export GAMOS="${TRAVIS_OS_NAME}"
fi fi
- if [ "${TRAVIS_CPU_ARCH}" == "amd64" ]; then - if [ "${TRAVIS_CPU_ARCH}" == "amd64" ]; then
export PLATFORM="x86_64"; export PLATFORM="x86_64"
elif [ "${TRAVIS_OS_NAME}" == "Windows 32-bit" ]; elif [ "${TRAVIS_OS_NAME}" == "Windows 32-bit" ];
then export PLATFORM="x86"; then export PLATFORM="x86"
else else
export PLATFORM="${TRAVIS_OS_NAME}; export PLATFORM="${TRAVIS_OS_NAME}"
fi fi
- source src/travis/${TRAVIS_OS_NAME}-before-install.sh - source src/travis/${TRAVIS_OS_NAME}-before-install.sh