-
Notifications
You must be signed in to change notification settings - Fork 47
/
circle.yml
19 lines (17 loc) · 932 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
machine:
xcode:
version: "7.1"
environment:
LC_CTYPE: en_US.UTF-8
dependencies:
override:
- git submodule update --init --recursive
- sudo gem install xcpretty -N
test:
override:
- if [[ $CIRCLE_BRANCH != release/* ]]; then pod spec lint; fi
- set -o pipefail
- xcodebuild test -scheme Himotoki-Mac -configuration Release | xcpretty -c -r junit -o $CIRCLE_TEST_REPORTS/test-report-mac.xml
- xcodebuild test -scheme Himotoki-iOS -configuration Release -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 6s" | xcpretty -c -r junit -o $CIRCLE_TEST_REPORTS/test-report-ios.xml
- xcodebuild test -scheme Himotoki-tvOS -configuration Release -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 1080p" | xcpretty -c -r junit -o $CIRCLE_TEST_REPORTS/test-report-tvos.xml
- xcodebuild build -scheme Himotoki-watchOS -sdk watchsimulator | xcpretty -c