mirror of
https://github.com/miguelbalboa/rfid.git
synced 2024-06-08 01:03:01 +03:00
[CI] fix travis not failing
This commit is contained in:
parent
045733958d
commit
5da38ea78c
|
@ -36,7 +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 "--<Result>--"; 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 "--<Result>--"; 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 "--<Result>--"; 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_avr"; if stringContain "$board" "$TESTBOARD"; then echo "check board $board"; ouput=$(platformio ci --lib=. --board=uno --board=megaatmega1280) || exit $?; echo "--<Result>--"; 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) || exit $?; echo "--<Result>--"; 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) || exit $?; echo "--<Result>--"; 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user