forked from johnxnguyen/Down
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
12 lines (12 loc) · 845 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
osx_image: xcode10.1
language: objective-c
before_install:
- set -o pipefail
- gem install xcpretty slather -N
- xcrun simctl boot "iPhone 7" || echo "(Pre)Launched the simulator."
script:
- travis_retry xcodebuild -project Down.xcodeproj -scheme "Down" -destination "platform=iOS Simulator,name=iPhone 7" -enableCodeCoverage YES ONLY_ACTIVE_ARCH=YES test | xcpretty -c
- travis_retry xcodebuild -project Down.xcodeproj -scheme "Down" -sdk macosx -destination 'platform=OS X,arch=x86_64' -enableCodeCoverage YES test | xcpretty -c
- travis_retry xcodebuild -project Down.xcodeproj -scheme "Down" -sdk appletvsimulator -destination 'platform=tvOS Simulator,name=Apple TV' -enableCodeCoverage YES test | xcpretty -c
after_success:
- slather coverage --ignore "../**/*/Xcode*" --ignore "Source/cmark/*" --scheme "Down" Down.xcodeproj