-
Notifications
You must be signed in to change notification settings - Fork 56
/
.travis.yml
59 lines (52 loc) · 2.6 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
language: objective-c
cache: bundler
osx_image: xcode8.3
xcode_workspace: KeenClient.xcworkspace
xcode_scheme:
- KeenClientFramework
xcode_sdk: iphonesimulator10.3
env:
- XCODEBUILD_PLATFORM='iOS Simulator' XCODEBUILD_SIM_OS=10.3.1 XCODEBUILD_DEVICE='iPhone 6' XCODEBUILD_ACTION=build
matrix:
include:
- xcode_scheme: KeenClient
xcode_sdk: iphonesimulator10.3
env:
- XCODEBUILD_PLATFORM='iOS Simulator' XCODEBUILD_SIM_OS=10.3.1 XCODEBUILD_DEVICE='iPhone 6' XCODEBUILD_ACTION=test
- xcode_scheme: KeenClient
xcode_sdk: iphonesimulator10.3
env:
- XCODEBUILD_PLATFORM='iOS Simulator' XCODEBUILD_SIM_OS=9.3 XCODEBUILD_DEVICE='iPhone 6' XCODEBUILD_ACTION=test
- xcode_scheme: KeenClient
xcode_sdk: iphonesimulator10.3
env:
- XCODEBUILD_PLATFORM='iOS Simulator' XCODEBUILD_SIM_OS=8.4 XCODEBUILD_DEVICE='iPhone 6' XCODEBUILD_ACTION=test
- xcode_scheme: KeenClient-Cocoa
xcode_sdk: macosx10.12
env:
- XCODEBUILD_PLATFORM='OS X' XCODEBUILD_ACTION=build
- xcode_scheme: KeenClientExampleObjCCocoaPods
xcode_sdk: iphonesimulator10.3
env: POD_INSTALL=true XCODEBUILD_WORKSPACE=Examples/objc/cocoapods/KeenClientExampleObjCCocoaPods.xcworkspace XCODEBUILD_PLATFORM='iOS Simulator' XCODEBUILD_SIM_OS=10.3.1 XCODEBUILD_DEVICE='iPhone 6' XCODEBUILD_ACTION=build
- xcode_scheme: KeenClientExampleObjCCarthage
xcode_sdk: iphonesimulator10.3
env: CARTHAGE_INSTALL=true XCODEBUILD_PROJECT=Examples/objc/carthage/KeenClientExampleObjCCarthage.xcodeproj XCODEBUILD_PROJECT_TARGET=KeenClientExampleObjCCarthage XCODEBUILD_PLATFORM='iOS Simulator' XCODEBUILD_SIM_OS=10.3.1 XCODEBUILD_DEVICE='iPhone 6' XCODEBUILD_ACTION=build
- xcode_scheme: KeenClientExampleSwiftCocoaPods
xcode_sdk: iphonesimulator10.3
env: POD_INSTALL=true XCODEBUILD_WORKSPACE=Examples/swift/cocoapods/KeenClientExampleSwiftCocoaPods.xcworkspace XCODEBUILD_PLATFORM='iOS Simulator' XCODEBUILD_SIM_OS=10.3.1 XCODEBUILD_DEVICE='iPhone 6' XCODEBUILD_ACTION=build
- xcode_scheme: KeenClientExampleSwiftCarthage
xcode_sdk: iphonesimulator10.3
env: CARTHAGE_INSTALL=true XCODEBUILD_PROJECT=Examples/swift/carthage/KeenClientExampleSwiftCarthage.xcodeproj XCODEBUILD_PROJECT_TARGET=KeenClientExampleSwiftCarthage XCODEBUILD_PLATFORM='iOS Simulator' XCODEBUILD_SIM_OS=10.3.1 XCODEBUILD_DEVICE='iPhone 6' XCODEBUILD_ACTION=build
before_install:
- gem install bundler
- rvm use 2.4.1
script: ./bin/test.sh
after_success: |
case "$XCODEBUILD_ACTION" in
test)
bundle exec slather
;;
*)
echo "Not slathering."
;;
esac