aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Rich Gowman <rgowman@google.com>2018-02-06 10:01:20 -0500
committerGravatar Rich Gowman <rgowman@google.com>2018-02-06 10:02:30 -0500
commit117669378c35f947244f683cb8f987f98754fd72 (patch)
tree274e302d90384b4eaed594cc51ca1363e44f4faf /.travis.yml
parent189313e8b15bb6f5e4e05fae3a413bfb65df6661 (diff)
Ignore trailing whitespace in autogenerated nanopb files
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 5ee84f2..2f8f497 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,7 +27,8 @@ before_install:
fi
script:
- - "! git grep -I ' $'" # Fail on trailing whitespace in non-binary files
+ # Fail on trailing whitespace in non-binary, non-generated-nanopb files
+ - "! git grep -I ' $' ':(exclude)Firestore/Protos/nanopb'"
- "! git grep -EL --name-only 'Copyright [0-9]{4}.*Google' | grep -v third_party | egrep '\\.(m|h|cc|mm|c)$'"
- ./scripts/style.sh test-only # Validate clang-format compliance
- |