From 3d8ff7d341c33991846487f028cb12b0d0048975 Mon Sep 17 00:00:00 2001 From: Noah Laptop Date: Sun, 24 May 2020 13:46:44 -0700 Subject: [PATCH] add arduino due to travis --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e794af6..aa8301c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,8 @@ jobs: env: CORE="adafruit:samd" BOARD="adafruit:samd:adafruit_feather_m0" - name: "Arduino Zero" env: CORE="arduino:samd" BOARD="arduino:samd:mzero_bl" + - name: "Arduino Due" + env: CORE="arduino:sam" BOARD="arduino:sam:arduino_due_x" - name: "ESP32" env: CORE="esp32:esp32" BOARD="esp32:esp32:d32" - name: "STM32" @@ -49,7 +51,7 @@ jobs: - stage: "Deploy" if: tag is present - env: CORE="arduino:samd esp32:esp32 STM32:stm32" + env: CORE="arduino:samd arduino:sam esp32:esp32 STM32:stm32" script: skip before_deploy: - mkdir tmp-bin @@ -61,6 +63,11 @@ jobs: - mkdir tmp-bin/cortex-m0plus - cp "$(find /tmp/ -maxdepth 1 -type d -name "arduino-sketch*" -print | head -n 1)/libraries/SSLClient/SSLClient.a" tmp-bin/cortex-m0plus/SSLClient.a - rm -rf /tmp/arduino-sketch* + # cortex-m3 + - arduino-cli compile --fqbn arduino:sam:arduino_due_x $PWD/examples/EthernetHTTPS + - mkdir tmp-bin/cortex-m3 + - cp "$(find /tmp/ -maxdepth 1 -type d -name "arduino-sketch*" -print | head -n 1)/libraries/SSLClient/SSLClient.a" tmp-bin/cortex-m3/SSLClient.a + - rm -rf /tmp/arduino-sketch* # cortex-m7 - arduino-cli compile --fqbn STM32:stm32:Nucleo_144:pnum=NUCLEO_F767ZI $PWD/examples/stm32/EthernetHTTPSstm32 - mkdir tmp-bin/cortex-m7