Skip to content

Commit 7187132

Browse files
committed
tools: Switch method of detecting travis so that it works OK on CIs without artifacts saved.
1 parent dd64379 commit 7187132

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/build_adafruit_bins.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ for board in $ATMEL_BOARDS; do
77
make -C atmel-samd BOARD=$board
88
(( exit_status = exit_status || $? ))
99
done
10-
if [ -z "$ARTIFACTS_BUCKET" ]; then
10+
if [ -z "$TRAVIS" ]; then
1111
make -C esp8266 BOARD=feather_huzzah
1212
(( exit_status = exit_status || $? ))
1313
fi
@@ -26,7 +26,7 @@ for board in $ATMEL_BOARDS; do
2626
done
2727

2828
# Skip ESP8266 on Travis
29-
if [ -z "$ARTIFACTS_BUCKET" ]; then
29+
if [ -z "$TRAVIS" ]; then
3030
mkdir -p bin/esp8266/
3131
cp esp8266/build/firmware-combined.bin bin/esp8266/adafruit-circuitpython-feather_huzzah-$version.bin
3232
(( exit_status = exit_status || $? ))

0 commit comments

Comments
 (0)