Skip to content

Commit cceeec3

Browse files
authored
travis: check for copyright in sources (#717)
1 parent 4d7c973 commit cceeec3

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ before_install:
2828
2929
script:
3030
- "! git grep -I ' $'" # Fail on trailing whitespace in non-binary files
31+
- "! git grep -L --name-only 'Copyright [0-9]* Google' | grep -v third_party | egrep '\\.(m|h|cc|mm|c)$'"
3132
- ./scripts/style.sh test-only # Validate clang-format compliance
3233
- |
3334
if [ $SKIP_FIREBASE != 1 ]; then

Firestore/Source/Core/FSTListenSequence.m

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2018 Google
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
#import "FSTListenSequence.h"
218

319
NS_ASSUME_NONNULL_BEGIN

patch/FirebaseAnalytics.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2018 Google
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
// Firebase Analytics umbrella header for interoperating with open source builds
218
// More details at https://github.com/firebase/firebase-ios-sdk#source-pod-integration
319

0 commit comments

Comments
 (0)