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
+
3
5
cache :
4
6
directories :
5
7
- ~/arduino_ide
8
10
depth : false
9
11
quiet : true
10
12
11
- addons :
12
- apt :
13
- packages :
14
- - python3
15
- - python3-pip
16
13
17
14
before_install :
18
- - travis_wait 30 mvn install
19
15
- source $TRAVIS_BUILD_DIR/install.sh
20
16
21
17
script :
Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ INSTALL_NRF52=$([[ $INSTALL_PLATFORMS == *"nrf52"* || -z "$INSTALL_PLATFORMS" ]]
109
109
110
110
if [[ $INSTALL_ESP32 == 1 ]]; then
111
111
echo -n " ESP32: "
112
+ pip install pyserial
112
113
DEPENDENCY_OUTPUT=$( arduino --install-boards esp32:esp32 2>&1 )
113
114
if [ $? -ne 0 ]; then echo -e " \xe2\x9c\x96 OR CACHED" ; else echo -e " " " $GREEN " " \xe2\x9c\x93" ; fi
114
115
fi
139
140
140
141
if [[ $INSTALL_NRF52 == 1 ]]; then
141
142
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
148
147
DEPENDENCY_OUTPUT=$( arduino --install-boards adafruit:nrf52 2>&1 )
149
148
if [ $? -ne 0 ]; then echo -e " \xe2\x9c\x96 OR CACHED" ; else echo -e " " " $GREEN " " \xe2\x9c\x93" ; fi
150
149
fi
@@ -169,7 +168,7 @@ export SKIP_COUNT=0
169
168
export FAIL_COUNT=0
170
169
export PDE_COUNT=0
171
170
# close if [[ $# -eq 0 ]] ; then
172
- fi
171
+ fi
173
172
# build all of the examples for the passed platform
174
173
# Sourcing and defining functions
175
174
function build_platform()
You can’t perform that action at this time.
0 commit comments