File tree 2 files changed +26
-19
lines changed
2 files changed +26
-19
lines changed Original file line number Diff line number Diff line change
1
+ os : osx
2
+ language : swift
3
+ osx_image : xcode10.2
4
+
1
5
branches :
2
6
only :
3
7
- master
4
8
stages :
5
9
- lint
6
10
- carthage
7
11
- test
8
- os : osx
9
- language : swift
10
12
jobs :
11
13
include :
12
14
- &pod
13
- env : SWIFT=3.1
14
- name : pod lib lint --swift-version=3.1
15
15
stage : lint
16
16
osx_image : xcode8.3
17
+ env : SWIFT=3.1
17
18
before_install :
18
- gem install cocoapods --prerelease --version 1.7.0.beta.2
19
+ gem install cocoapods --prerelease --version 1.7.0.beta.3
19
20
install :
20
21
carthage bootstrap --no-build PromiseKit
21
22
script : |
@@ -27,45 +28,51 @@ jobs:
27
28
- << : *pod
28
29
osx_image : xcode9.2
29
30
env : SWIFT=3.2
30
- name : pod lib lint --swift-version=3.2
31
31
- << : *pod
32
32
osx_image : xcode9.4
33
33
env : SWIFT=3.3
34
- name : pod lib lint --swift-version=3.3
35
34
- << : *pod
36
35
osx_image : xcode10.1
37
36
env : SWIFT=3.4
38
- name : pod lib lint --swift-version=3.4
39
37
- << : *pod
40
38
osx_image : xcode9.2
41
39
env : SWIFT=4.0
42
- name : pod lib lint --swift-version=4.0
43
40
- << : *pod
44
41
osx_image : xcode9.4
45
42
env : SWIFT=4.1
46
- name : pod lib lint --swift-version=4.1
47
43
- << : *pod
48
44
osx_image : xcode10.1
49
45
env : SWIFT=4.2
50
- name : pod lib lint --swift-version=4.2
51
46
- << : *pod
52
47
osx_image : xcode10.2
53
48
env : SWIFT=5.0
54
- 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
+ sed -i '' "s/SWIFT_TREAT_WARNINGS_AS_ERRORS = NO;/SWIFT_TREAT_WARNINGS_AS_ERRORS = YES;/" *.xcodeproj/project.pbxproj
56
+ carthage build --no-skip-current
57
+ cache :
58
+ directories :
59
+ - Carthage
60
+ - << : *carthage
61
+ osx_image : xcode9.4
62
+ - << : *carthage
63
+ osx_image : xcode10.1
64
+ - << : *carthage
65
+ osx_image : xcode10.2
55
66
56
67
- &test
57
- name : iOS Tests
58
68
stage : test
59
- osx_image : xcode10.2
60
69
xcode_scheme : PMKUIKit
61
70
xcode_project : PMKUIKit.xcodeproj
62
- before_install : carthage bootstrap --cache-builds --no-use-binaries
63
71
xcode_destination : ' platform=iOS Simulator,OS=12.2,name=iPhone SE'
64
72
cache :
65
73
directories :
66
74
- Carthage
67
- before_script :
68
- sed -i '' 's/SWIFT_TREAT_WARNINGS_AS_ERRORS = NO/SWIFT_TREAT_WARNINGS_AS_ERRORS = YES/g' PMKUIKit.xcodeproj/project.pbxproj
75
+ before_install :
76
+ carthage bootstrap --cache-builds --no-use-binaries
69
77
- << : *test
70
- name : tvOS Tests
71
78
xcode_destination : ' platform=tvOS Simulator,OS=12.2,name=Apple TV'
Original file line number Diff line number Diff line change 1
- github "mxcl/PromiseKit" ~> 6.0
1
+ github "mxcl/PromiseKit" ~> 6.8.4
You can’t perform that action at this time.
0 commit comments