-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.travis.yml
27 lines (26 loc) · 1.15 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
# https://docs.travis-ci.com/user/languages/objective-c/#Supported-OS-X-iOS-SDK-versions
language: objective-c
osx_image: xcode9.3beta
cache:
bundler: true
cocoapods: true
before_install:
- xcrun swift -version
#- brew update
install:
- bundle install --without development
- pod install
after_success:
- bash <(curl -s https://codecov.io/bash) -J 'Slate'
script:
- xcrun simctl boot "iPhone SE" &
- set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace Slate.xcworkspace -scheme Slate -destination 'name=iPhone SE' build build-for-testing | xcpretty
- set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace Slate.xcworkspace -scheme Slate -destination 'name=iPhone SE' test-without-building | xcpretty
- set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace Slate.xcworkspace -scheme macSlate build build-for-testing | xcpretty
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/689437210f0e8a62afde
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always