ref: e45bac46dbb9c42f633e77bc4131e221de799ea7
parent: cd415916ac95c8a721f4373aa3d91daae7c08d87
author: Clownacy <Clownacy@users.noreply.github.com>
date: Thu Jan 23 11:14:51 EST 2020
Clearly I don't understand Bash syntax
--- a/.travis.yml
+++ b/.travis.yml
@@ -65,10 +65,10 @@
# Define WINDRES
- if [ "$TRAVIS_OS_NAME" = "windows" ];
- then;
+ then
export WINDRES32="windres"
export WINDRES64="windres"
- else;
+ else
export WINDRES32="i686-w64-mingw32-windres"
export WINDRES64="x86_64-w64-mingw32-windres"
fi
@@ -75,7 +75,7 @@
# Display compilers name/version
- if [ "$TRAVIS_OS_NAME" = "windows" ];
- then;
+ then
$mingw32 echo ${CC};
$mingw32 echo ${CXX};
$mingw32 ${CC} --version;
@@ -85,7 +85,7 @@
$mingw64 echo ${CXX};
$mingw64 ${CC} --version;
$mingw64 ${CXX} --version;
- else;
+ else
echo ${CC};
echo ${CXX};
${CC} --version;