aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Paul Beusterien <paulbeusterien@google.com>2018-01-13 14:53:10 -0800
committerGravatar GitHub <noreply@github.com>2018-01-13 14:53:10 -0800
commitb5454f1a913d246da9e56b4d8e1dd9873d6d65ce (patch)
treef2a950e8f65127c1f83159a4899000a0837200a7 /.travis.yml
parentda506b86bc7eedb7de7764033477252ea383a4f6 (diff)
Validate clang-format compliance in travis (#648)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 18b04e2..4a6ad23 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,9 +12,11 @@ before_install:
- gem install xcpretty
- bundle exec pod install --project-directory=Example --repo-update
- bundle exec pod install --project-directory=Firestore/Example --no-repo-update
+ - brew install clang-format
script:
- "! git grep -I ' $'" # Fail on trailing whitespace in non-binary files
+ - ./scripts/style.sh test-only # Validate clang-format compliance
- ./test.sh
# TODO fix os_log deprecation warning in FIRLogger to remove --allow-warnings