diff --git a/.travis.yml b/.travis.yml index 4f79c647..eceb1241 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,13 +40,13 @@ branches: script: # set sketch skipping pattern for some boards - if [[ "$BOARD" =~ "esp8266:esp8266:" ]]; then - # on ESP8266, skip HTTP and MQTT examples - SKIP_PAT='(HTTP|MQTT).*ino' - else - # default skip pattern (matches everything) - SKIP_PAT='.*' - fi + - if [[ "$BOARD" =~ "esp8266:esp8266:" ]]; then + # on ESP8266, skip HTTP and MQTT examples + SKIP_PAT='(HTTP|MQTT).*ino' + else + # default skip pattern (matches everything) + SKIP_PAT='.*' + fi # build all example sketches - for example in $(find $PWD/examples -name '*.ino' | sort); do