Skip to content

Commit 0eb3074

Browse files
committed
58 -- Add Swift 5.1 and Nightly Build Testing
1 parent 79757dc commit 0eb3074

File tree

1 file changed

+24
-10
lines changed

1 file changed

+24
-10
lines changed

.gitlab-ci.yml

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
stages:
2-
- build release
3-
- test
4-
- docs
2+
- Build in Release
3+
- Test
4+
- Docs
55

66
pages:
7-
stage: docs
7+
stage: Docs
88
only:
99
- tags
1010
tags:
@@ -32,22 +32,29 @@ pages:
3232
- public
3333

3434
.build:
35-
stage: build release
35+
stage: Build in Release
3636
tags:
3737
- docker
3838
script:
3939
- swift build -c release -v
4040

41-
build ubuntu-xenial:
41+
build 5.0:ubuntu-xenial:
4242
extends: .build
4343
image: swift:5.0-xenial
44+
build 5.1:ubuntu-xenial:
45+
extends: .build
46+
image: norionomura/swift:swift-5.1-branch
47+
build latest:ubuntu-xenial:
48+
extends: .build
49+
image: norionomura/swift:nightly
50+
allow_failure: true
4451

45-
build ubuntu-bionic:
52+
build 5.0:ubuntu-bionic:
4653
extends: .build
4754
image: swift:5.0-bionic
4855

4956
.test:
50-
stage: test
57+
stage: Test
5158
tags:
5259
- docker
5360
variables:
@@ -61,10 +68,17 @@ build ubuntu-bionic:
6168
- swift build -v
6269
- swift test
6370

64-
test ubuntu-xenial:
71+
test 5.0:ubuntu-xenial:
6572
extends: .test
6673
image: swift:5.0-xenial
74+
test 5.1:ubuntu-xenial:
75+
extends: .test
76+
image: norionomura/swift:swift-5.1-branch
77+
test latest:ubuntu-xenial:
78+
extends: .test
79+
image: norionomura/swift:nightly
80+
allow_failure: true
6781

68-
test ubuntu-bionic:
82+
test 5.0:ubuntu-bionic:
6983
extends: .test
7084
image: swift:5.0-bionic

0 commit comments

Comments
 (0)