travis: Don't try and build ESP8266

This commit is contained in:
Scott Shawcroft 2017-04-20 15:14:37 -07:00
parent bac3a7dcc1
commit f66fcbfa4f

View File

@ -7,8 +7,10 @@ for board in $ATMEL_BOARDS; do
make -C atmel-samd BOARD=$board
(( exit_status = exit_status || $? ))
done
make -C esp8266 BOARD=feather_huzzah
(( exit_status = exit_status || $? ))
if [ -z "$ARTIFACTS_BUCKET" ]; then
make -C esp8266 BOARD=feather_huzzah
(( exit_status = exit_status || $? ))
fi
version=`git describe --tags --exact-match`
if [ $? -ne 0 ]; then
@ -22,8 +24,12 @@ for board in $ATMEL_BOARDS; do
python2 tools/uf2/utils/uf2conv.py -c -o bin/$board/adafruit-circuitpython-$board-$version.uf2 bin/$board/adafruit-circuitpython-$board-$version.bin
(( exit_status = exit_status || $? ))
done
mkdir -p bin/esp8266/
cp esp8266/build/firmware-combined.bin bin/esp8266/adafruit-circuitpython-feather_huzzah-$version.bin
(( exit_status = exit_status || $? ))
# Skip ESP8266 on Travis
if [ -z "$ARTIFACTS_BUCKET" ]; then
mkdir -p bin/esp8266/
cp esp8266/build/firmware-combined.bin bin/esp8266/adafruit-circuitpython-feather_huzzah-$version.bin
(( exit_status = exit_status || $? ))
fi
exit $exit_status