File tree 2 files changed +8
-10
lines changed
2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
2
3
- python :
4
- - " 3.8"
3
+ # python:
4
+ # - "3.8"
5
5
6
6
dist : focal
7
7
15
15
16
16
17
17
before_install :
18
- # - sudo apt-get update
19
- # - sudo apt-get install python3
20
18
- source $TRAVIS_BUILD_DIR/install.sh
21
19
22
20
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
- sudo python3 -m pip install --upgrade pip
143
- sudo python3 -m pip install wheel
144
- sudo python3 -m pip install setuptools
145
- sudo python3 -m pip install adafruit-nrfutil
146
- sudo python3 -m pip install pyserial
143
+ pip install wheel
144
+ pip install setuptools
145
+ pip install adafruit-nrfutil
146
+ pip install pyserial
147
147
DEPENDENCY_OUTPUT=$( arduino --install-boards adafruit:nrf52 2>&1 )
148
148
if [ $? -ne 0 ]; then echo -e " \xe2\x9c\x96 OR CACHED" ; else echo -e " " " $GREEN " " \xe2\x9c\x93" ; fi
149
149
fi
@@ -168,7 +168,7 @@ export SKIP_COUNT=0
168
168
export FAIL_COUNT=0
169
169
export PDE_COUNT=0
170
170
# close if [[ $# -eq 0 ]] ; then
171
- fi
171
+ fi
172
172
# build all of the examples for the passed platform
173
173
# Sourcing and defining functions
174
174
function build_platform()
You can’t perform that action at this time.
0 commit comments