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 make -C atmel-samd BOARD=$board
(( exit_status = exit_status || $? )) (( exit_status = exit_status || $? ))
done done
make -C esp8266 BOARD=feather_huzzah if [ -z "$ARTIFACTS_BUCKET" ]; then
(( exit_status = exit_status || $? )) make -C esp8266 BOARD=feather_huzzah
(( exit_status = exit_status || $? ))
fi
version=`git describe --tags --exact-match` version=`git describe --tags --exact-match`
if [ $? -ne 0 ]; then 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 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 || $? )) (( exit_status = exit_status || $? ))
done done
mkdir -p bin/esp8266/
cp esp8266/build/firmware-combined.bin bin/esp8266/adafruit-circuitpython-feather_huzzah-$version.bin # Skip ESP8266 on Travis
(( exit_status = exit_status || $? )) 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 exit $exit_status