-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
112 lines (112 loc) · 5.88 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
if: branch = master
language: objective-c
osx_image: xcode10.2
xcode_sdk: iphonesimulator
install:
- sudo gem install cocoapods;
- pod repo update;
script:
- CHANGES=$(git --no-pager diff --name-only $TRAVIS_COMMIT_RANGE)
- echo $CHANGES;
- if [[ -n "$(grep -Ei "(${PROJ_DIR}|\.travis\.yml)" <<< "$CHANGES")" ]]; then
pushd "$PROJ_DIR"; pod install; popd;
xcodebuild -workspace "$TRAVIS_XCODE_WORKSPACE" -scheme "$TRAVIS_XCODE_SCHEME" -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO;
fi
matrix:
include:
- name: "BannerTableViewExample"
xcode_workspace: Swift/Advanced/BannerTableViewExample/BannerTableViewExample.xcworkspace
env: PROJ_DIR="Swift/Advanced/BannerTableViewExample"
xcode_scheme: BannerTableViewExample
- name: "APIDemo"
xcode_workspace: Swift/Advanced/APIDemo/APIDemo.xcworkspace
xcode_scheme: APIDemo
env: PROJ_DIR="Swift/Advanced/APIDemo"
- name: "AdaptiveBannerExample"
xcode_workspace: Swift/AdMob/AdaptiveBannerExample/AdaptiveBannerExample.xcworkspace
xcode_scheme: AdaptiveBannerExample
env: PROJ_DIR="Swift/AdMob/AdaptiveBannerExample"
- name: "BannerExample"
xcode_workspace: Swift/AdMob/BannerExample/BannerExample.xcworkspace
xcode_scheme: BannerExample
env: PROJ_DIR="Swift/AdMob/BannerExample"
- name: "RewardedVideoExample"
xcode_workspace: Swift/AdMob/RewardedVideoExample/RewardedVideoExample.xcworkspace
xcode_scheme: RewardedVideoExample
env: PROJ_DIR="Swift/AdMob/RewardedVideoExample"
- name: "NativeAdvancedExample"
xcode_workspace: Swift/AdMob/NativeAdvancedExample/NativeAdvancedExample.xcworkspace
xcode_scheme: NativeAdvancedExample
env: PROJ_DIR="Swift/AdMob/NativeAdvancedExample"
- name: "InterstitialExample"
xcode_workspace: Swift/AdMob/InterstitialExample/InterstitialExample.xcworkspace
xcode_scheme: InterstitialExample
env: PROJ_DIR="Swift/AdMob/InterstitialExample"
- name: "AdManagerInterstitialExample"
xcode_workspace: Swift/AdManager/AdManagerInterstitialExample/AdManagerInterstitialExample.xcworkspace
xcode_scheme: AdManagerInterstitialExample
env: PROJ_DIR="Swift/AdManager/AdManagerInterstitialExample"
- name: "AdManagerAdaptiveBannerExample"
xcode_workspace: Swift/AdManager/AdaptiveBannerExample/AdaptiveBannerExample.xcworkspace
xcode_scheme: AdaptiveBannerExample
env: PROJ_DIR="Swift/AdManager/AdaptiveBannerExample"
- name: "AdManagerBannerExample"
xcode_workspace: Swift/AdManager/AdManagerBannerExample/AdManagerBannerExample.xcworkspace
xcode_scheme: AdManagerBannerExample
env: PROJ_DIR="Swift/AdManager/AdManagerBannerExample"
- name: "AdManagerRewardedVideoExample"
xcode_workspace: Swift/AdManager/AdManagerRewardedVideoExample/AdManagerRewardedVideoExample.xcworkspace
xcode_scheme: AdManagerRewardedVideoExample
env: PROJ_DIR="Swift/AdManager/AdManagerRewardedVideoExample"
- name: "AdManagerCustomRenderingExample"
xcode_workspace: Swift/AdManager/AdManagerCustomRenderingExample/AdManagerCustomRenderingExample.xcworkspace
xcode_scheme: AdManagerCustomRenderingExample
env: PROJ_DIR="Swift/AdManager/AdManagerCustomRenderingExample"
- name: "BannerTableViewExample"
xcode_workspace: Objective-C/Advanced/BannerTableViewExample/BannerTableViewExample.xcworkspace
xcode_scheme: BannerTableViewExample
env: PROJ_DIR="Objective-C/Advanced/BannerTableViewExample"
- name: "APIDemo"
xcode_workspace: Objective-C/Advanced/APIDemo/APIDemo.xcworkspace
xcode_scheme: APIDemo
env: PROJ_DIR="Objective-C/Advanced/APIDemo"
- name: "AdaptiveBannerExample"
xcode_workspace: Objective-C/AdMob/AdaptiveBannerExample/AdaptiveBannerExample.xcworkspace
xcode_scheme: AdaptiveBannerExample
env: PROJ_DIR="Objective-C/AdMob/AdaptiveBannerExample"
- name: "BannerExample"
xcode_workspace: Objective-C/AdMob/BannerExample/BannerExample.xcworkspace
xcode_scheme: BannerExample
env: PROJ_DIR="Objective-C/AdMob/BannerExample"
- name: "RewardedVideoExample"
xcode_workspace: Objective-C/AdMob/RewardedVideoExample/RewardedVideoExample.xcworkspace
xcode_scheme: RewardedVideoExample
env: PROJ_DIR="Objective-C/AdMob/RewardedVideoExample"
- name: "NativeAdvancedExample"
xcode_workspace: Objective-C/AdMob/NativeAdvancedExample/NativeAdvancedExample.xcworkspace
xcode_scheme: NativeAdvancedExample
env: PROJ_DIR="Objective-C/AdMob/NativeAdvancedExample"
- name: "InterstitialExample"
xcode_workspace: Objective-C/AdMob/InterstitialExample/InterstitialExample.xcworkspace
xcode_scheme: InterstitialExample
env: PROJ_DIR="Objective-C/AdMob/InterstitialExample"
- name: "AdManagerInterstitialExample"
xcode_workspace: Objective-C/AdManager/AdManagerInterstitialExample/AdManagerInterstitialExample.xcworkspace
xcode_scheme: AdManagerInterstitialExample
env: PROJ_DIR="Objective-C/AdManager/AdManagerInterstitialExample"
- name: "AdManagerAdaptiveBannerExample"
xcode_workspace: Objective-C/AdManager/AdaptiveBannerExample/AdaptiveBannerExample.xcworkspace
xcode_scheme: AdaptiveBannerExample
env: PROJ_DIR="Objective-C/AdManager/AdaptiveBannerExample"
- name: "AdManagerBannerExample"
xcode_workspace: Objective-C/AdManager/AdManagerBannerExample/AdManagerBannerExample.xcworkspace
xcode_scheme: AdManagerBannerExample
env: PROJ_DIR="Objective-C/AdManager/AdManagerBannerExample"
- name: "AdManagerRewardedVideoExample"
xcode_workspace: Objective-C/AdManager/AdManagerRewardedVideoExample/AdManagerRewardedVideoExample.xcworkspace
xcode_scheme: AdManagerRewardedVideoExample
env: PROJ_DIR="Objective-C/AdManager/AdManagerRewardedVideoExample"
- name: "AdManagerCustomRenderingExample"
xcode_workspace: Objective-C/AdManager/AdManagerCustomRenderingExample/AdManagerCustomRenderingExample.xcworkspace
xcode_scheme: AdManagerCustomRenderingExample
env: PROJ_DIR="Objective-C/AdManager/AdManagerCustomRenderingExample"