forked from Bersaelor/KDTree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (29 loc) · 1.05 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
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
matrix:
include:
- os: linux
dist: trusty
sudo: required
before_install:
- git clone https://github.com/IBM-Swift/Package-Builder.git
script: ./Package-Builder/build-package.sh -projectDir $TRAVIS_BUILD_DIR
- os: osx
osx_image: xcode9.3
sudo: required
language: objective-c
podfile: Example/Podfile
env: TEST_DESTINATION="OS=11.3,name=iPhone 7"
script:
- set -o pipefail && xcodebuild test -workspace Example/KDTree.xcworkspace -scheme KDTree_Example -destination "$TEST_DESTINATION" | xcpretty
- os: osx
osx_image: xcode9.3
sudo: required
language: objective-c
podfile: Example/Podfile
env: TEST_DESTINATION="OS=9.3,name=iPhone 5"
install:
- ./install_swiftlint.sh
script:
- set -o pipefail && xcodebuild test -workspace Example/KDTree.xcworkspace -scheme KDTree_Example -destination "$TEST_DESTINATION" | xcpretty