-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
26 lines (26 loc) · 957 Bytes
/
.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
language: objective-c
osx_image: xcode8.3
#xcode_project: ViewModelKit.xcodeproj
xcode_workspace: ViewModelKit.xcworkspace
xcode_scheme: ViewModelKit
xcode_sdk: iphonesimulator10.3
env:
global:
- FRAMEWORK_NAME=ViewModelKit
before_install:
- brew update
- brew outdated carthage || brew upgrade carthage
- pip install --user cpp-coveralls
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
- gem install slather
before_script:
- carthage bootstrap
script:
- set -o pipefail;
- xcodebuild test -project ViewModelKit.xcodeproj -scheme ViewModelKit -sdk iphonesimulator -destination "platform=iOS Simulator,OS=latest,name=iPhone 5" | xcpretty
- xcodebuild test -project ViewModelKit.xcodeproj -scheme ViewModelKit -sdk iphonesimulator -destination "platform=iOS Simulator,OS=latest,name=iPhone 5s" | xcpretty
before_deploy:
- carthage build --no-skip-current
- carthage archive $FRAMEWORK_NAME
after_success:
- slather