-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy path.travis.yml
62 lines (58 loc) · 1.7 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
60
61
62
osx_image: xcode10
language: objective-c
cache:
- bundler
- cocoapods
matrix:
include:
- podfile: ios/objc/Podfile
env:
- LANGUAGE=ObjC
- DIR=ios/objc
- podfile: ios/swift/Podfile
env:
- LANGUAGE=Swift
- DIR=ios/swift
- podfile: grow-ios-starter/objc-starter/Podfile
env:
- LANGUAGE=ObjC
- DIR=grow-ios-starter/objc-starter
- podfile: grow-ios-starter/swift-starter/Podfile
env:
- LANGUAGE=Swift
- DIR=grow-ios-starter/swift-starter
- podfile: ios-starter/objc-starter/Podfile
env:
- LANGUAGE=ObjC
- DIR=ios-starter/objc-starter
before_install:
- bundle install
- gem install xcpretty
- cd ios-starter/objc-starter
- bundle exec pod install --repo-update
- cd -
- podfile: ios-starter/swift-starter/Podfile
env:
- LANGUAGE=Swift
- DIR=ios-starter/swift-starter
before_install:
- bundle install
- gem install xcpretty
- cd ios-starter/swift-starter
- bundle exec pod install --repo-update
- cd -
before_install:
- bundle install
- gem install xcpretty
- cd ios/$LANGUAGE
- 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.codelab.FriendlyChat'$LANGUAGE'/;}' GoogleService-Info.plist
- sed -i '' 's/YOUR_REVERSED_CLIENT_ID/com.googleusercontent.apps.123456789000-hjugbg6ud799v4c49dim8ce2usclthar/' FriendlyChat"$LANGUAGE"/Info.plist
- gem install xcodeproj
- ruby ../info_script.rb $LANGUAGE
- cd -
script: ./test.sh
branches:
only:
- master