From 117669378c35f947244f683cb8f987f98754fd72 Mon Sep 17 00:00:00 2001 From: Rich Gowman Date: Tue, 6 Feb 2018 10:01:20 -0500 Subject: Ignore trailing whitespace in autogenerated nanopb files --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.travis.yml') 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 - | -- cgit v1.2.3