File tree Expand file tree Collapse file tree 2 files changed +10
-15
lines changed
Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 1- language : c
2- sudo : false
1+ language : python
2+
3+ dist : focal
4+
35cache :
46 directories :
57 - ~/arduino_ide
810 depth : false
911 quiet : true
1012
11- addons :
12- apt :
13- packages :
14- - python3
15- - python3-pip
1613
1714before_install :
18- - travis_wait 30 mvn install
1915 - source $TRAVIS_BUILD_DIR/install.sh
2016
2117script :
Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ INSTALL_NRF52=$([[ $INSTALL_PLATFORMS == *"nrf52"* || -z "$INSTALL_PLATFORMS" ]]
109109
110110if [[ $INSTALL_ESP32 == 1 ]]; then
111111 echo -n " ESP32: "
112+ pip install pyserial
112113 DEPENDENCY_OUTPUT=$( arduino --install-boards esp32:esp32 2>&1 )
113114 if [ $? -ne 0 ]; then echo -e " \xe2\x9c\x96 OR CACHED" ; else echo -e " " " $GREEN " " \xe2\x9c\x93" ; fi
114115fi
139140
140141if [[ $INSTALL_NRF52 == 1 ]]; then
141142 echo -n " ADAFRUIT NRF5X: "
142- pip3 install --user setuptools
143- pip3 install --user adafruit-nrfutil
144- pip3 install --user pyserial
145- sudo pip3 install setuptools
146- sudo pip3 install adafruit-nrfutil
147- sudo pip3 install pyserial
143+ pip install wheel
144+ pip install setuptools
145+ pip install adafruit-nrfutil
146+ pip install pyserial
148147 DEPENDENCY_OUTPUT=$( arduino --install-boards adafruit:nrf52 2>&1 )
149148 if [ $? -ne 0 ]; then echo -e " \xe2\x9c\x96 OR CACHED" ; else echo -e " " " $GREEN " " \xe2\x9c\x93" ; fi
150149fi
@@ -169,7 +168,7 @@ export SKIP_COUNT=0
169168export FAIL_COUNT=0
170169export PDE_COUNT=0
171170# close if [[ $# -eq 0 ]] ; then
172- fi
171+ fi
173172# build all of the examples for the passed platform
174173# Sourcing and defining functions
175174function build_platform()
You can’t perform that action at this time.
0 commit comments