Add wpiformat to Travis CI (#98)

This commit is contained in:
Tyler Veness
2017-10-18 00:49:19 -07:00
committed by Peter Johnson
parent 7fd5947486
commit ec12b0ffe2

View File

@@ -1,3 +1,4 @@
dist: trusty
language: java
matrix:
@@ -13,14 +14,20 @@ addons:
packages:
- g++-multilib
- lib32stdc++6
- python3
- python3-pip
- clang-format-3.8
before_install:
- .travis-scripts/install.sh
install:
- pip3 install --user wpiformat
- ./gradlew build -PbuildAll
script:
- wpiformat -y 2017 -clang 3.8
- git --no-pager diff --exit-code HEAD # Ensure formatter made no changes
- ./gradlew build -PbuildAll
before_cache: