From 55090dc7cc49d03933503b983c2a5ed918df2d8a Mon Sep 17 00:00:00 2001 From: Clownacy Date: Thu, 23 Jan 2020 14:23:02 +0000 Subject: [PATCH] Attempt to build release and debug binaries Also build static binaries, since that's what's intended for the Windows builds --- .travis.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 31242111..7dfb67ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,8 +32,8 @@ addons: - mingw-w64 #env: -# - BUILD_TYPE=Debug -# - BUILD_TYPE=RelWithDebInfo + - MAKE_BUILD_TYPE=RELEASE=0 + - MAKE_BUILD_TYPE=RELEASE=1 before_install: # Set URL for Discord send script @@ -46,9 +46,6 @@ before_install: # Display Travis OS name - echo $TRAVIS_OS_NAME - # Display build type -# - echo $BUILD_TYPE - # Display compilers name/version - echo ${CC} - echo ${CXX} @@ -62,10 +59,10 @@ install: script: # Compile 32-bit build - - make -j ${JOBS} FIX_BUGS=1 RELEASE=1 WARNINGS=1 WARNINGS_ALL=1 WINDOWS=1 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ WINDRES=i686-w64-mingw32-windres + - make -j ${JOBS} FIX_BUGS=1 ${MAKE_BUILD_TYPE} WARNINGS=1 WARNINGS_ALL=1 WINDOWS=1 STATIC=1 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ WINDRES=i686-w64-mingw32-windres # Compile 64-bit build - - make -j ${JOBS} FIX_BUGS=1 RELEASE=1 WARNINGS=1 WARNINGS_ALL=1 WINDOWS=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ WINDRES=x86_64-w64-mingw32-windres + - make -j ${JOBS} FIX_BUGS=1 ${MAKE_BUILD_TYPE} WARNINGS=1 WARNINGS_ALL=1 WINDOWS=1 STATIC=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ WINDRES=x86_64-w64-mingw32-windres after_success: # Send success notification to Discord through DISCORD_WEBHOOK_URL