-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.travis.yml
16 lines (13 loc) · 1.01 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
osx_image: xcode9.3beta
language: objective-c
script:
- set -o pipefail && xcodebuild -project Vaccine.xcodeproj -scheme "Vaccine-macOS" -sdk macosx clean build
- set -o pipefail && xcodebuild -project Vaccine.xcodeproj -scheme "Vaccine-macOS" -sdk macosx -enableCodeCoverage YES test
- set -o pipefail && xcodebuild -project Vaccine.xcodeproj -scheme "Vaccine-iOS" -sdk iphonesimulator -destination name="iPhone 8" clean build
- set -o pipefail && xcodebuild -project Vaccine.xcodeproj -scheme "Vaccine-iOS" -sdk iphonesimulator -destination name="iPhone 8" -enableCodeCoverage YES test
- set -o pipefail && xcodebuild -project Vaccine.xcodeproj -scheme "Vaccine-tvOS" -destination 'platform=tvOS Simulator,name=Apple TV 1080p,OS=11.0' clean build
- set -o pipefail && xcodebuild -project Vaccine.xcodeproj -scheme "Vaccine-tvOS" -destination 'platform=tvOS Simulator,name=Apple TV 1080p,OS=11.0' -enableCodeCoverage YES test
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
email: false