Skip to content

Commit f1e1699

Browse files
author
microbuilder
committed
Added feather52 to travis build
1 parent a14bfeb commit f1e1699

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

tools/build_adafruit_bins.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
rm -rf ports/atmel-samd/build*
22
rm -rf ports/esp8266/build*
3+
rm -rf ports/nrf/build*
34

45
ATMEL_BOARDS="arduino_zero circuitplayground_express feather_m0_basic feather_m0_adalogger feather_m0_express metro_m0_express metro_m4_express trinket_m0 gemma_m0"
56
ROSIE_SETUPS="rosie-ci"
@@ -23,6 +24,10 @@ if [ -z "$TRAVIS" ]; then
2324
make $PARALLEL -C ports/esp8266 BOARD=feather_huzzah
2425
(( exit_status = exit_status || $? ))
2526
fi
27+
if [ -z "$TRAVIS" ]; then
28+
make $PARALLEL -C ports/nrf BOARD=feather52
29+
(( exit_status = exit_status || $? ))
30+
fi
2631

2732
version=`git describe --tags --exact-match`
2833
if [ $? -ne 0 ]; then
@@ -60,4 +65,11 @@ if [ -z "$TRAVIS" ]; then
6065
(( exit_status = exit_status || $? ))
6166
fi
6267

68+
# Skip nRF52 on Travis
69+
if [ -z "$TRAVIS" ]; then
70+
mkdir -p bin/nrf/
71+
cp ports/nrf/build-feather52/firmware.bin bin/nrf/adafruit-circuitpython-feather_nrf52-$version.bin
72+
(( exit_status = exit_status || $? ))
73+
fi
74+
6375
exit $exit_status

0 commit comments

Comments
 (0)