aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Paul Beusterien <paulbeusterien@google.com>2018-01-27 16:00:28 -0800
committerGravatar GitHub <noreply@github.com>2018-01-27 16:00:28 -0800
commitcceeec3e7b2995d633deda6852cf3b40d07f9247 (patch)
treeb47ef8557adc83292b5f896184c47288cf419f0a /.travis.yml
parent4d7c9733691396503d9abc413cb6c8547ab938c5 (diff)
travis: check for copyright in sources (#717)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index a2719b1..9d505f8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,6 +28,7 @@ before_install:
script:
- "! git grep -I ' $'" # Fail on trailing whitespace in non-binary files
+ - "! git grep -L --name-only 'Copyright [0-9]* Google' | grep -v third_party | egrep '\\.(m|h|cc|mm|c)$'"
- ./scripts/style.sh test-only # Validate clang-format compliance
- |
if [ $SKIP_FIREBASE != 1 ]; then