forked from devxoul/URLNavigator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (32 loc) · 1.04 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
25
26
27
28
29
30
31
32
33
34
35
36
osx_image: xcode10
language: objective-c
sudo: required
env:
global:
- PROJECT="URLNavigator.xcodeproj"
- SCHEME="URLNavigator-Package"
- IOS_SDK="iphonesimulator12.0"
- TVOS_SDK="appletvsimulator12.0"
- FRAMEWORK="URLNavigator"
matrix:
- SDK="$IOS_SDK" TEST=1 DESTINATION="platform=iOS Simulator,name=iPhone 7,OS=12.0"
- SDK="$TVOS_SDK" TEST=1 DESTINATION="OS=12.0,name=Apple TV 4K"
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
- swift --version
- gem install swiftproj
before_script:
- set -o pipefail
- make project
script:
- xcodebuild clean build test
-project "$PROJECT"
-scheme "$SCHEME"
-sdk "$SDK"
-destination "$DESTINATION"
-configuration Debug
-enableCodeCoverage YES
APPLICATION_EXTENSION_API_ONLY=YES
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty -c
after_success:
- bash <(curl -s https://codecov.io/bash) -X xcodeplist -J 'URLNavigator'