From 10fd4099929aaca9e03935b45e2c2bc6417f7ab9 Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Mon, 11 May 2020 17:48:53 +0200 Subject: [PATCH] [CI] fix grep and bump python --- .travis.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2d80be8..bd7d1b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: python python: - - "2.7" + - "3.8" # Cache PlatformIO packages using Travis CI container-based infrastructure sudo: false @@ -36,6 +36,7 @@ script: - stringContain() { [ -z "${2##*$1*}" ]; } # selectable board tests @Rotzbua # prints only warnings and errors, to show all remove "1>/dev/null" - - board="arduino_avr"; if stringContain "$board" "$TESTBOARD"; then echo "check board $board"; ouput=$(platformio ci --lib=. --board=uno --board=megaatmega1280); echo "----"; echo "$ouput" | grep --quiet --ignore-case -E "^(Device|Data|Program|text|[0-9])"; else echo "skip board test of $board"; fi - - board="arduino_arm"; if stringContain "$board" "$TESTBOARD"; then echo "check board $board"; ouput=$(platformio ci --lib=. --board=due --board=zero); echo "----"; echo "$ouput" | grep --quiet --ignore-case -E "^(Device|Data|Program|text|[0-9])"; else echo "skip board test of $board"; fi - - board="esp"; if stringContain "$board" "$TESTBOARD"; then echo "check board $board"; ouput=$(platformio ci --lib=. --board=d1_mini); echo "----"; echo "$ouput" | grep --quiet --ignore-case -E "^(Device|Data|Program|text|[0-9])"; else echo "skip board test of $board"; fi + - board="arduino_avr"; if stringContain "$board" "$TESTBOARD"; then echo "check board $board"; ouput=$(platformio ci --lib=. --board=uno --board=megaatmega1280); echo "----"; echo "$ouput" | grep --no-messages --ignore-case -E "^(PLATFORM|HARDWARE|RAM|Flash|Device|Data|Program|text|[0-9])"; else echo "skip board test of $board"; fi + - board="arduino_arm"; if stringContain "$board" "$TESTBOARD"; then echo "check board $board"; ouput=$(platformio ci --lib=. --board=due --board=zero); echo "----"; echo "$ouput" | grep --no-messages --ignore-case -E "^(PLATFORM|HARDWARE|RAM|Flash|Device|Data|Program|text|[0-9])"; else echo "skip board test of $board"; fi + - board="esp"; if stringContain "$board" "$TESTBOARD"; then echo "check board $board"; ouput=$(platformio ci --lib=. --board=d1_mini); echo "----"; echo "$ouput" | grep --no-messages --ignore-case -E "^(PLATFORM|HARDWARE|RAM|Flash|Device|Data|Program|text|[0-9])"; else echo "skip board test of $board"; fi +