-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
24 lines (24 loc) · 1.25 KB
/
.travis.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
language: swift
osx_image: xcode9
xcode_project: RxStream.xcodeproj
script:
- xcodebuild -scheme 'RxStream iOS' -project RxStream.xcodeproj -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6S' -enableCodeCoverage YES build test
after_success:
- bash <(curl -s https://codecov.io/bash)
branches:
only:
- master
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- IOS_FRAMEWORK_SCHEME="RxStream iOS"
- MACOS_FRAMEWORK_SCHEME="RxStream MacOS"
- TVOS_FRAMEWORK_SCHEME="RxStream tvOS"
- WATCHOS_FRAMEWORK_SCHEME="RxStream watchOS"
matrix:
- DESTINATION="OS=3.2,name=Apple Watch - 42mm" SCHEME="$WATCHOS_FRAMEWORK_SCHEME" RUN_TESTS="NO" BUILD_EXAMPLE="NO" POD_LINT="NO"
- DESTINATION="OS=10.3,name=iPhone 7 Plus" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"
- DESTINATION="OS=9.0,name=iPhone 6" SCHEME="$IOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"
- DESTINATION="OS=10.2,name=Apple TV 1080p" SCHEME="$TVOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="NO" POD_LINT="NO"
- DESTINATION="arch=x86_64" SCHEME="$MACOS_FRAMEWORK_SCHEME" RUN_TESTS="YES" BUILD_EXAMPLE="NO" POD_LINT="NO"