forked from firebase/quickstart-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (41 loc) · 1.21 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
osx_image: xcode8.1
language: objective-c
cache:
- bundler
- cocoapods
podfile: admob/Podfile
env: SAMPLE=AdMob
matrix:
include:
- podfile: analytics/Podfile
env: SAMPLE=Analytics
- podfile: authentication/Podfile
env: SAMPLE=Authentication
- podfile: config/Podfile
env: SAMPLE=Config
- podfile: crashreporting/Podfile
env: SAMPLE=CrashReporting
- podfile: database/Podfile
env: SAMPLE=Database
- podfile: dynamiclinks/Podfile
env: SAMPLE=DynamicLinks
- podfile: invites/Podfile
env: SAMPLE=Invites
- podfile: messaging/Podfile
env: SAMPLE=Messaging
- podfile: storage/Podfile
env: SAMPLE=Storage
rvm: 2.3.1
before_install:
- gem uninstall cocoapods -a
- gem install cocoapods -v '1.1.1'
- gem install xcpretty
- cd $SAMPLE
- 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