tools: Switch method of detecting travis so that it works OK on CIs without artifacts saved.
This commit is contained in:
parent
dd64379c0d
commit
7187132d24
|
@ -7,7 +7,7 @@ for board in $ATMEL_BOARDS; do
|
||||||
make -C atmel-samd BOARD=$board
|
make -C atmel-samd BOARD=$board
|
||||||
(( exit_status = exit_status || $? ))
|
(( exit_status = exit_status || $? ))
|
||||||
done
|
done
|
||||||
if [ -z "$ARTIFACTS_BUCKET" ]; then
|
if [ -z "$TRAVIS" ]; then
|
||||||
make -C esp8266 BOARD=feather_huzzah
|
make -C esp8266 BOARD=feather_huzzah
|
||||||
(( exit_status = exit_status || $? ))
|
(( exit_status = exit_status || $? ))
|
||||||
fi
|
fi
|
||||||
|
@ -26,7 +26,7 @@ for board in $ATMEL_BOARDS; do
|
||||||
done
|
done
|
||||||
|
|
||||||
# Skip ESP8266 on Travis
|
# Skip ESP8266 on Travis
|
||||||
if [ -z "$ARTIFACTS_BUCKET" ]; then
|
if [ -z "$TRAVIS" ]; then
|
||||||
mkdir -p bin/esp8266/
|
mkdir -p bin/esp8266/
|
||||||
cp esp8266/build/firmware-combined.bin bin/esp8266/adafruit-circuitpython-feather_huzzah-$version.bin
|
cp esp8266/build/firmware-combined.bin bin/esp8266/adafruit-circuitpython-feather_huzzah-$version.bin
|
||||||
(( exit_status = exit_status || $? ))
|
(( exit_status = exit_status || $? ))
|
||||||
|
|
Loading…
Reference in New Issue