forked from devlucky/Kakapo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (26 loc) · 1.03 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
language: objective-c
notifications:
slack: devlucky:0AP12qjjfc2Zxc0s9yo1cQQm
env:
global:
- WORKSPACE=Kakapo.xcworkspace
- COVERAGE=NO
podfile: Podfile
osx_image: xcode8
matrix:
include:
- env: DESTINATION="arch=x86_64" SCHEME=macOS SDK="macosx10.12"
- env: DESTINATION="OS=10.0,name=Apple TV 1080p" SCHEME=tvOS SDK="appletvsimulator10.0"
- env: DESTINATION="OS=9.0,name=iPhone 5" SCHEME=iOS SDK="iphonesimulator10.0"
- env: DESTINATION="OS=10.0,name=iPhone SE" SCHEME=iOS SDK="iphonesimulator10.0" COVERAGE=YES
before_install:
- gem install danger --no-ri --no-doc
- gem install danger-swiftlint --no-ri --no-doc
before_script:
- danger
- pod lib lint --quick
after_success:
- bash <(curl -s https://codecov.io/bash) -J 'Kakapo'
script:
- set -o pipefail
- travis_retry xcodebuild -workspace $WORKSPACE -scheme Kakapo\ $SCHEME -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ENABLE_TESTABILITY=YES -enableCodeCoverage $COVERAGE test | xcpretty;