diff options
| author | microbuilder <contact@microbuilder.eu> | 2017-12-27 13:54:16 +0100 |
|---|---|---|
| committer | microbuilder <contact@microbuilder.eu> | 2017-12-27 13:54:16 +0100 |
| commit | f1e1699c9f74e5aefdc6488c60daca52c8cd15bc (patch) | |
| tree | 32664f854af55740430c0f0d8e8561b52276ced9 | |
| parent | a14bfeba64be15e73cb7a305b96432c62c6ae273 (diff) | |
Added feather52 to travis build
| -rwxr-xr-x | tools/build_adafruit_bins.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/build_adafruit_bins.sh b/tools/build_adafruit_bins.sh index 47fe7c66a..8b749d38f 100755 --- a/tools/build_adafruit_bins.sh +++ b/tools/build_adafruit_bins.sh @@ -1,5 +1,6 @@ rm -rf ports/atmel-samd/build* rm -rf ports/esp8266/build* +rm -rf ports/nrf/build* 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" ROSIE_SETUPS="rosie-ci" @@ -23,6 +24,10 @@ if [ -z "$TRAVIS" ]; then make $PARALLEL -C ports/esp8266 BOARD=feather_huzzah (( exit_status = exit_status || $? )) fi +if [ -z "$TRAVIS" ]; then + make $PARALLEL -C ports/nrf BOARD=feather52 + (( exit_status = exit_status || $? )) +fi version=`git describe --tags --exact-match` if [ $? -ne 0 ]; then @@ -60,4 +65,11 @@ if [ -z "$TRAVIS" ]; then (( exit_status = exit_status || $? )) fi +# Skip nRF52 on Travis +if [ -z "$TRAVIS" ]; then + mkdir -p bin/nrf/ + cp ports/nrf/build-feather52/firmware.bin bin/nrf/adafruit-circuitpython-feather_nrf52-$version.bin + (( exit_status = exit_status || $? )) +fi + exit $exit_status |
