Skip to content

Commit 52cf6c5

Browse files
authored
Install required pip3 in travis example and update the example in README (espressif#72)
* Install pip3 which is required for adafruit-nrfutil * Update travis example in README
1 parent 8a824e6 commit 52cf6c5

File tree

2 files changed

+26
-11
lines changed

2 files changed

+26
-11
lines changed

Diff for: README.md

+24-11
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,35 @@ cache:
3030
git:
3131
depth: false
3232
quiet: true
33+
addons:
34+
apt:
35+
sources:
36+
- llvm-toolchain-trusty-5.0
37+
- key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'
38+
packages:
39+
- clang-format-5.0
3340
env:
3441
global:
35-
# You can uncomment this to explicitly choose an (old) version of the Arduino IDE
36-
#- ARDUINO_IDE_VERSION="1.8.10"
42+
# - ARDUINO_IDE_VERSION="1.8.10"
43+
- PRETTYNAME="Adafruit FT6206 Arduino Library"
44+
# Optional, will default to "$TRAVIS_BUILD_DIR/Doxyfile"
45+
# - DOXYFILE: $TRAVIS_BUILD_DIR/Doxyfile
46+
3747
before_install:
38-
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
48+
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
49+
- curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/run-clang-format.py > run-clang-format.py
50+
3951
install:
40-
# Note that every library should be installed in a seperate command
41-
- arduino --install-library "Adafruit SleepyDog Library"
42-
- arduino --install-library "Adafruit FONA Library"
52+
- arduino --install-library "Adafruit ILI9341","Adafruit GFX Library"
53+
4354
script:
44-
- build_main_platforms
45-
notifications:
46-
email:
47-
on_success: change
48-
on_failure: change
55+
- python run-clang-format.py -r .
56+
- build_main_platforms
57+
58+
# Generate and deploy documentation
59+
after_success:
60+
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/library_check.sh)
61+
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/doxy_gen_and_deploy.sh)
4962
```
5063
5164
**Choosing Arduino IDE version**

Diff for: example_travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ addons:
1313
- llvm-toolchain-trusty-5.0
1414
- key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'
1515
packages:
16+
- python3-pip
17+
- python3-wheel
1618
- clang-format-5.0
1719
env:
1820
global:

0 commit comments

Comments
 (0)