mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
Add wpiformat to Travis CI (#98)
This commit is contained in:
committed by
Peter Johnson
parent
7fd5947486
commit
ec12b0ffe2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user