Enable debug for PR builds (#1489)

This commit is contained in:
Marcel Stör 2016-09-06 08:31:48 +02:00 committed by Arnim Läuger
parent b02450f5e0
commit 3109497b33
1 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,7 @@
set -e set -e
echo "Running PR build (all modules, SSL disabled)" echo "Running PR build (all modules, SSL enabled, debug enabled)"
( (
cd "$TRAVIS_BUILD_DIR"/app/include || exit cd "$TRAVIS_BUILD_DIR"/app/include || exit
# uncomment disabled modules e.g. '//#define LUA_USE_MODULES_UCG' -> '#define LUA_USE_MODULES_UCG' # uncomment disabled modules e.g. '//#define LUA_USE_MODULES_UCG' -> '#define LUA_USE_MODULES_UCG'
@ -12,6 +12,9 @@ cat user_modules.h
# enable SSL # enable SSL
sed -i.bak 's@//#define CLIENT_SSL_ENABLE@#define CLIENT_SSL_ENABLE@' user_config.h sed -i.bak 's@//#define CLIENT_SSL_ENABLE@#define CLIENT_SSL_ENABLE@' user_config.h
# enable debug
sed -E -i.bak 's@// ?#define DEVELOP_VERSION@#define DEVELOP_VERSION@' user_config.h
# enable FATFS # enable FATFS
sed -i 's@//#define BUILD_FATFS@#define BUILD_FATFS@' user_config.h sed -i 's@//#define BUILD_FATFS@#define BUILD_FATFS@' user_config.h
cat user_config.h cat user_config.h