forked from firebase/quickstart-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (54 loc) · 1.57 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
osx_image: xcode10
language: objective-c
cache:
- bundler
- cocoapods
matrix:
include:
- podfile: abtesting/Podfile
env: SAMPLE=ABTesting
- podfile: admob/Podfile
env: SAMPLE=AdMob
- podfile: analytics/Podfile
env: SAMPLE=Analytics
- podfile: authentication/Podfile
env: SAMPLE=Authentication
- podfile: config/Podfile
env: SAMPLE=Config
- podfile: crashlytics/Podfile
env: SAMPLE=Crashlytics
- podfile: crashreporting/Podfile
env: SAMPLE=CrashReporting
- podfile: database/Podfile
env: SAMPLE=Database
- podfile: dynamiclinks/Podfile
env: SAMPLE=DynamicLinks
- podfile: firestore/Podfile
env: SAMPLE=Firestore
- podfile: functions/Podfile
env: SAMPLE=Functions
- podfile: messaging/Podfile
env: SAMPLE=Messaging
- podfile: mlmodelinterpreter/Podfile
env: SAMPLE=MLModelInterpreter
- podfile: mlvision/Podfile
env: SAMPLE=MLVision
- podfile: performance/Podfile
env: SAMPLE=Performance
- podfile: storage/Podfile
env: SAMPLE=Storage
before_install:
- cd $SAMPLE
- bundle install
- gem install xcpretty
- bundle exec pod install --repo-update
- cp ../mock-GoogleService-Info.plist ./GoogleService-Info.plist
- sed -i '' '/<key>BUNDLE_ID</{n;s/id/com.google.firebase.quickstart.'$SAMPLE'Example/;}' GoogleService-Info.plist
- sed -i '' 's/YOUR_REVERSED_CLIENT_ID/com.googleusercontent.apps.123456789000-hjugbg6ud799v4c49dim8ce2usclthar/' "$SAMPLE"Example/Info.plist
- gem install xcodeproj
- ruby ../info_script.rb $SAMPLE
- cd -
script: ./test.sh
branches:
only:
- master