1+ os : osx
2+ language : swift
3+ osx_image : xcode10.2
4+
15branches :
2- only :
6+ only :
37 - master
48stages :
59 - lint
10+ - carthage
611 - test
712jobs :
813 include :
914 - &pod
1015 stage : lint
1116 osx_image : xcode8.3
1217 env : SWIFT=3.1
13- name : pod lib lint --swift-version=3.1
14- os : osx
15- language : objective-c
1618 before_install :
1719 gem install cocoapods --prerelease --version 1.7.0.beta.3
1820 install :
@@ -26,50 +28,53 @@ jobs:
2628 - << : *pod
2729 osx_image : xcode9.2
2830 env : SWIFT=3.2
29- name : pod lib lint --swift-version=3.2
3031 - << : *pod
3132 osx_image : xcode9.4
3233 env : SWIFT=3.3
33- name : pod lib lint --swift-version=3.3
34- - << : *pod
35- osx_image : xcode10.1
36- env : SWIFT=3.4
37- name : pod lib lint --swift-version=3.4
34+ # - <<: *pod
35+ # osx_image: xcode10
36+ # env: SWIFT=3.4
3837 - << : *pod
3938 osx_image : xcode9.2
4039 env : SWIFT=4.0
41- name : pod lib lint --swift-version=4.0
4240 - << : *pod
4341 osx_image : xcode9.4
4442 env : SWIFT=4.1
45- name : pod lib lint --swift-version=4.1
4643 - << : *pod
47- osx_image : xcode10.1
44+ osx_image : xcode10
4845 env : SWIFT=4.2
49- name : pod lib lint --swift-version=4.2
5046 - << : *pod
5147 osx_image : xcode10.2
5248 env : SWIFT=5.0
53- name : pod lib lint --swift-version=5.0
49+
50+ - &carthage
51+ stage : carthage
52+ osx_image : xcode9.2
53+ script : |
54+ carthage bootstrap --cache-builds
55+ carthage build --no-skip-current
56+ cache :
57+ directories :
58+ - Carthage
59+ - << : *carthage
60+ osx_image : xcode9.4
61+ - << : *carthage
62+ osx_image : xcode10.1
63+ - << : *carthage
64+ osx_image : xcode10.2
65+
5466 - &test
5567 stage : test
56- osx_image : xcode10.2
57- name : macOS Tests
58- env : DST='arch=x86_64' PLAT=macOS
59- os : osx
60- language : objective-c
68+ xcode_scheme : PMKMapKit
69+ xcode_project : PMKMapKit.xcodeproj
70+ xcode_destination : ' platform=macOS'
6171 cache :
6272 directories :
6373 - Carthage
64- before_install :
65- carthage bootstrap --cache-builds --no-use-binaries --platform $PLAT
66- install :
67- xcodebuild -scheme PMKMapKit -target PMKMapKit -quiet -destination "$DST" SWIFT_TREAT_WARNINGS_AS_ERRORS=YES build
68- script :
69- xcodebuild -scheme PMKMapKit -quiet -destination "$DST" test
74+ before_install : |
75+ carthage bootstrap --cache-builds --no-use-binaries
76+ sed -i '' "s/SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;/SWIFT_TREAT_WARNINGS_AS_ERRORS = YES;/" *.xcodeproj/project.pbxproj
7077 - << : *test
71- env : DST='OS=12.0,name=iPhone SE' PLAT=iOS
72- name : iOS Tests
78+ xcode_destination : ' platform=iOS Simulator,OS=12.2,name=iPhone SE'
7379 - << : *test
74- env : DST='OS=12.0,name=Apple TV' PLAT=tvOS
75- name : tvOS Tests
80+ xcode_destination : ' platform=Apple TV Simulator,OS=12.2,name=Apple TV'
0 commit comments