forked from watson-developer-cloud/swift-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (20 loc) · 817 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: xcode7.3
#xcode_project: WatsonDeveloperCloud.xcodeproj
#xcode_scheme: WatsonDeveloperCloud
#xcode_sdk: iphonesimulator9.2
# whitelist
branches:
only:
- master
#xcode_scheme: WatsonCore
before_install:
- brew update
#- brew install carthage
- openssl aes-256-cbc -K $encrypted_d5f714d04b80_key -iv $encrypted_d5f714d04b80_iv -in WatsonDeveloperCloudTests/Credentials.plist.enc -out WatsonDeveloperCloudTests/Credentials.plist -d
before_script:
- carthage update --platform iOS
after_success:
- bash <(curl -s https://codecov.io/bash)
script:
- xcodebuild clean build test -scheme WatsonDeveloperCloud -destination 'platform=iOS Simulator,name=iPhone 6,OS=9.3' -enableCodeCoverage YES | egrep '^(/.+:[0-9+:[0-9]+:.(error|warning):|fatal|CompileSwift|Test|Build|===)'