forked from kickstarter/ios-oss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
53 lines (53 loc) · 1.38 KB
/
circle.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
machine:
xcode:
version: 8.3.2
dependencies:
cache_directories:
- "Frameworks/OpenTok"
pre:
- make bootstrap
- ls /Applications/ | grep "Xcode"
- system_profiler SPSoftwareDataType
- security list-keychains
- security find-identity -p codesigning
- instruments -s devices
- xcodebuild -showsdks
- gem install fastlane -NVv 2.28.3
test:
pre:
- xcrun instruments -w 'iPhone 7 (10.2)' || true
- sleep 15
override:
- make lint
- PLATFORM=iOS make test
- PLATFORM=iOS TARGET=Library make test
- SCHEME=LiveStream make test
post:
- cp -rf Screenshots/FailureDiffs $CIRCLE_ARTIFACTS || true
experimental:
notify:
branches:
only:
- master
- beta-dist
- itunes-dist
deployment:
ios_live_stream_beta:
branch: live-stream-beta-dist
commands:
- agvtool new-version -all $(($(date +%s)/100))
- fastlane live_stream_beta_gym --verbose
- fastlane live_stream_beta_hockey --verbose
ios_beta:
branch: beta-dist
commands:
- agvtool new-version -all $(($(date +%s)/100))
- fastlane beta_gym --verbose
- fastlane beta_hockey --verbose
ios_itc:
branch: itunes-dist
commands:
- agvtool new-version -all $(($(date +%s)/100))
- fastlane itunes_gym --verbose
- fastlane itunes_hockey --verbose
- fastlane itunes_deliver --verbose