-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathcircle.yml
32 lines (32 loc) · 983 Bytes
/
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
machine:
environment:
LANG: en_US.UTF-8
LC_CTYPE: en_US.UTF-8
xcode:
version: "8.0"
dependencies:
pre:
- xcrun instruments -w 'D0D2EBA2-A0DC-4710-87C5-79DFDBF7E123' || true
override:
- sudo gem install cocoapods xcpretty obcd -N
- pod install --project-directory=Example
test:
override:
- set -o pipefail &&
xcodebuild
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES
GCC_GENERATE_TEST_COVERAGE_FILES=YES
-sdk iphonesimulator
-destination 'platform=iOS Simulator,name=iPhone 6,OS=latest'
-workspace Example/ExampleSSDataSources.xcworkspace
-scheme "ExampleSSDataSources"
clean build test |
tee $CIRCLE_ARTIFACTS/xcode_raw.log |
xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/junit.xml
- pod lib lint --quick
- obcd --path SSDataSources find HeaderStyle
deployment:
codecov:
branch: /.*/
commands:
- bash <(curl -s https://codecov.io/bash)