diff options
author | Paul Beusterien <paulbeusterien@google.com> | 2018-01-27 16:00:28 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-27 16:00:28 -0800 |
commit | cceeec3e7b2995d633deda6852cf3b40d07f9247 (patch) | |
tree | b47ef8557adc83292b5f896184c47288cf419f0a | |
parent | 4d7c9733691396503d9abc413cb6c8547ab938c5 (diff) |
travis: check for copyright in sources (#717)
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | Firestore/Source/Core/FSTListenSequence.m | 16 | ||||
-rw-r--r-- | patch/FirebaseAnalytics.h | 16 |
3 files changed, 33 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 diff --git a/Firestore/Source/Core/FSTListenSequence.m b/Firestore/Source/Core/FSTListenSequence.m index 27ade7c..6f50d35 100644 --- a/Firestore/Source/Core/FSTListenSequence.m +++ b/Firestore/Source/Core/FSTListenSequence.m @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #import "FSTListenSequence.h" NS_ASSUME_NONNULL_BEGIN diff --git a/patch/FirebaseAnalytics.h b/patch/FirebaseAnalytics.h index 72c55c6..4850741 100644 --- a/patch/FirebaseAnalytics.h +++ b/patch/FirebaseAnalytics.h @@ -1,3 +1,19 @@ +/* + * Copyright 2018 Google + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + // Firebase Analytics umbrella header for interoperating with open source builds // More details at https://github.com/firebase/firebase-ios-sdk#source-pod-integration |