Skip to content

Commit 71164df

Browse files
committed
add caching and clang
1 parent 40fa216 commit 71164df

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

.travis.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,31 @@
11
language: c
22
sudo: false
3-
4-
# Blacklist
5-
branches:
6-
except:
7-
- gh-pages
3+
cache:
4+
directories:
5+
- ~/arduino_ide
6+
- ~/.arduino15/packages/
7+
git:
8+
depth: false
9+
quiet: true
810

911
env:
1012
global:
1113
- PRETTYNAME="Adafruit PCA9685 PWM Servo Driver Arduino Library"
1214

15+
addons:
16+
apt:
17+
sources:
18+
- llvm-toolchain-trusty-5.0
19+
- key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'
20+
packages:
21+
- clang-format-5.0
22+
1323
before_install:
1424
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
25+
- curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/run-clang-format.py > run-clang-format.py
1526

1627
script:
28+
- python run-clang-format.py -r .
1729
- build_main_platforms
1830

1931
# Generate and deploy documentation

0 commit comments

Comments
 (0)