Enable SSL for Travis PR builds (#1396)
This commit is contained in:
parent
a6248500b9
commit
87262404de
|
@ -9,13 +9,13 @@ cd "$TRAVIS_BUILD_DIR"/app/include || exit
|
|||
sed -E -i.bak 's@(//.*)(#define *LUA_USE_MODULES_.*)@\2@g' user_modules.h
|
||||
cat user_modules.h
|
||||
|
||||
# disable SSL
|
||||
sed -i.bak 's@#define CLIENT_SSL_ENABLE@//#define CLIENT_SSL_ENABLE@' user_config.h
|
||||
# enable SSL
|
||||
sed -i.bak 's@//#define CLIENT_SSL_ENABLE@#define CLIENT_SSL_ENABLE@' user_config.h
|
||||
cat user_config.h
|
||||
|
||||
cd "$TRAVIS_BUILD_DIR"/ld || exit
|
||||
# increase irom0_0_seg size for all modules build
|
||||
sed -E -i.bak 's@(.*irom0_0_seg *:.*len *=) *[^,]*(.*)@\1 0x90000\2@' nodemcu.ld
|
||||
sed -E -i.bak 's@(.*irom0_0_seg *:.*len *=) *[^,]*(.*)@\1 0xA0000\2@' nodemcu.ld
|
||||
cat nodemcu.ld
|
||||
|
||||
# change to "root" directory no matter where the script was started from
|
||||
|
|
Loading…
Reference in New Issue