forked from firebase/quickstart-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (43 loc) · 1.22 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
osx_image: xcode9.2
language: objective-c
cache:
- bundler
- cocoapods
matrix:
include:
- 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: 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:
- 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