forked from GEOSwift/GEOSwift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (36 loc) · 878 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: objective-c
before_install:
- gem install xcpretty
- gem install cocoapods -v '1.1.1'
- pod repo update
osx_image: xcode8
env:
global:
- WORKSPACE=GEOSwift.xcworkspace
- SCHEME=GEOSwift
- SDK=iphonesimulator10.0
matrix:
# - DESTINATION="OS=10.0,name=iPhone 6"
- DESTINATION="OS=9.0,name=iPhone 6"
# - DESTINATION="OS=8.3,name=iPhone 6"
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- xcodebuild
-workspace "$WORKSPACE"
-scheme "$SCHEME"
-sdk "$SDK"
-destination "$DESTINATION"
-configuration Debug
ONLY_ACTIVE_ARCH=YES
clean test | xcpretty -c;
- xcodebuild
-workspace "$WORKSPACE"
-scheme "$SCHEME"
-sdk "$SDK"
-destination "$DESTINATION"
-configuration Release
ONLY_ACTIVE_ARCH=YES
ENABLE_TESTABILITY=YES
clean test | xcpretty -c;