-
Notifications
You must be signed in to change notification settings - Fork 28
/
circle.yml
15 lines (14 loc) · 1015 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
machine:
xcode:
version: 8.0
environment:
XCODE_WORKSPACE: Example/Traits.xcworkspace
XCODE_SCHEME: Traits-Example
test:
override:
- set -o pipefail
- xcodebuild -workspace "$XCODE_WORKSPACE" -scheme "$XCODE_SCHEME" -sdk iphonesimulator -destination 'name=iPhone 6,OS=10.0' ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO build | xcpretty
- xcodebuild -workspace "$XCODE_WORKSPACE" -scheme "$XCODE_SCHEME" -sdk iphonesimulator -destination 'name=iPhone 6,OS=10.0' ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO test | tee $CIRCLE_ARTIFACTS/xcode_raw.log | xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results.xml
- xcodebuild -workspace "$XCODE_WORKSPACE" -scheme "$XCODE_SCHEME" -sdk iphonesimulator -destination 'name=iPhone 6,OS=10.0' ONLY_ACTIVE_ARCH=YES CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO VALID_ARCHS=x86_64 -enableCodeCoverage YES test
post:
- bash <(curl -s https://codecov.io/bash)