forked from GEOSwift/GEOSwift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (37 loc) · 897 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
43
44
language: objective-c
before_install:
- gem install xcpretty
- gem install cocoapods -v '1.3.1'
- pod repo update
osx_image: xcode9
cache: cocoapods
env:
global:
- WORKSPACE=GEOSwift.xcworkspace
- SCHEME=GEOSwift
- SDK=iphonesimulator11.0
matrix:
# - DESTINATION="OS=10.3,name=iPhone 6"
- DESTINATION="OS=11.0,name=iPhone 7"
# - 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;