Skip to content

Commit 741482d

Browse files
committed
Update CI Config to test both Ubuntu Xenial & Bionic and to use official Swift images
1 parent 4cfc326 commit 741482d

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

circle.yml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,42 @@
11
version: 2
22

33
jobs:
4-
linux:
4+
test-ubuntu-bionic:
55
docker:
6-
- image: vapor/swift:5.0
6+
- image: swift:5.0-bionic
77
- image: redis:5
88
steps:
99
- checkout
1010
- run: swift build
1111
- run: swift test
12-
linux-release:
12+
test-ubuntu-xenial:
1313
docker:
14-
- image: vapor/swift:5.0
14+
- image: swift:5.0-xenial
15+
- image: redis:5
16+
steps:
17+
- checkout
18+
- run: swift build
19+
- run: swift test
20+
21+
build-ubuntu-bionic:
22+
docker:
23+
- image: swift:5.0-bionic
24+
steps:
25+
- checkout
26+
- run: swift build -c release
27+
build-ubuntu-xenial:
28+
docker:
29+
- image: swift:5.0-xenial
1530
steps:
1631
- checkout
1732
- run: swift build -c release
1833
workflows:
1934
version: 2
2035
tests:
2136
jobs:
22-
- linux
23-
- linux-release
37+
- test-ubuntu-bionic
38+
- test-ubuntu-xenial
39+
builds:
40+
jobs:
41+
- build-ubuntu-bionic
42+
- build-ubuntu-xenial

0 commit comments

Comments
 (0)