From 3109497b3329e0e4e6baa839c3b0852cbb85f37a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20St=C3=B6r?= Date: Tue, 6 Sep 2016 08:31:48 +0200 Subject: [PATCH] Enable debug for PR builds (#1489) --- tools/pr-build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/pr-build.sh b/tools/pr-build.sh index 7c605795..0bc34e94 100644 --- a/tools/pr-build.sh +++ b/tools/pr-build.sh @@ -2,7 +2,7 @@ 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 # 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 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 sed -i 's@//#define BUILD_FATFS@#define BUILD_FATFS@' user_config.h cat user_config.h