Skip to content

Commit 4c33dbb

Browse files
committed
Fixed typo and install esp platform only when needed
1 parent 6d6b2ff commit 4c33dbb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ env:
55
- ARDUINO_ESP32_VERSION="1.0.1"
66
- LIBRARY_NAME="SIM808"
77
matrix:
8-
- BOARD="arduino:avr:uno"
9-
- BOARD="esp32:esp3:pico32"
8+
- ESP32=false BOARD="arduino:avr:uno"
9+
- ESP32=true BOARD="esp32:esp32:pico32"
1010
before_install:
1111
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
1212
- sleep 3
@@ -16,7 +16,7 @@ before_install:
1616
- sudo mv arduino-$ARDUINO_IDE_VERSION /usr/local/share/arduino
1717
- sudo ln -s /usr/local/share/arduino/arduino /usr/local/bin/arduino
1818
- arduino --pref boardsmanager.additional.urls=https://dl.espressif.com/dl/package_esp32_index.json --save-prefs
19-
- arduino --install-boards esp32:esp32:$ARDUINO_ESP32_VERSION
19+
- if $ESP32 then; arduino --install-boards esp32:esp32:$ARDUINO_ESP32_VERSION; fi
2020
install:
2121
- ln -s $PWD /usr/local/share/arduino/libraries/$LIBRARY_NAME
2222
- arduino --install-library "ArduinoLog"

0 commit comments

Comments
 (0)