From dd10fd5f6c01d83dc1edd89e3730db6743ba2ead Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 2 Jan 2019 22:44:48 -0800 Subject: [PATCH 1/4] Update PageBuilder version in .travis.yml The /Hieromon/PageBuilder repository's 1.1.0 appears to have been deleted and the only tag now is 1.2.3. This resulted in failure of the Travis CI build: https://travis-ci.org/per1234/AutoConnect/jobs/474724488#L731 Selected library is not available The command "arduino --install-library PubSubClient,PageBuilder:1.1.0" failed and exited with 1 during . --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7cd4f58..af89d67 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,7 @@ before_install: - if [[ "$BOARD" =~ "esp32:esp32:" ]]; then arduino --install-boards esp32:esp32; fi - - arduino --install-library PubSubClient,PageBuilder:1.1.0 + - arduino --install-library PubSubClient,PageBuilder:1.2.3 - buildExampleSketch() { arduino --verbose-build --verify --board $BOARD $PWD/examples/$1/$1.ino; } install: - mkdir -p ~/Arduino/libraries From 71b01819c1c365686b0495ec3aac6e5a031e31df Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Fri, 15 Feb 2019 18:23:30 +0900 Subject: [PATCH 2/4] Suppress used uninitialized warning. Fixed Issue #39 --- src/AutoConnectPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AutoConnectPage.cpp b/src/AutoConnectPage.cpp index 4e3426e..dce26a5 100644 --- a/src/AutoConnectPage.cpp +++ b/src/AutoConnectPage.cpp @@ -820,7 +820,7 @@ String AutoConnect::_token_WIFI_STATUS(PageArgument& args) { String AutoConnect::_token_STATION_STATUS(PageArgument& args) { uint8_t st; - const char* wlStatusSymbol; + const char* wlStatusSymbol = ""; #if defined(ARDUINO_ARCH_ESP8266) static const char *wlStatusSymbols[] = { From ced1016fa24fcdb6eb83f09d59c461ba6633f3e5 Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Tue, 26 Feb 2019 01:59:04 +0900 Subject: [PATCH 3/4] Fixed build parameter --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index af89d67..7ca94a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ env: global: - IDE_VERSION=1.8.5 matrix: - - BOARD="esp8266:esp8266:nodemcuv2:CpuFrequency=160,FlashSize=4M3M" + - BOARD="esp8266:esp8266:generic:xtal=80,eesz=4M3M,ip=lm2f,exception=disabled,FlashMode=qio,FlashFreq=80" - BOARD="esp32:esp32:esp32:FlashFreq=80,FlashSize=4M" before_install: - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16" From 30b94cea723e9374607d14339ab8152f114bbc77 Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Tue, 26 Feb 2019 02:17:17 +0900 Subject: [PATCH 4/4] Measures for too long log length on travis.ci --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7ca94a1..1da8314 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ +banches: + only: + - master language: generic env: global: @@ -21,7 +24,7 @@ before_install: arduino --install-boards esp32:esp32; fi - arduino --install-library PubSubClient,PageBuilder:1.2.3 - - buildExampleSketch() { arduino --verbose-build --verify --board $BOARD $PWD/examples/$1/$1.ino; } + - buildExampleSketch() { arduino --verify --board $BOARD $PWD/examples/$1/$1.ino; } install: - mkdir -p ~/Arduino/libraries - ln -s $PWD ~/Arduino/libraries/.