Skip to content

Commit 8c17077

Browse files
committed
Update circleci config to test multiple go versions
1 parent 8ba78c2 commit 8c17077

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

circle.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,26 @@
1-
version: 2.0
1+
version: 2
22
jobs:
3-
build:
3+
build-go-latest:
4+
docker:
5+
- image: golang:latest
6+
working_directory: /go/src/github.com/gliderlabs/ssh
7+
steps:
8+
- checkout
9+
- run: go get
10+
- run: go test -v -race
11+
12+
build-go-1.7:
413
docker:
5-
- image: golang:1.10
14+
- image: golang:1.7
615
working_directory: /go/src/github.com/gliderlabs/ssh
716
steps:
817
- checkout
918
- run: go get
1019
- run: go test -v -race
20+
21+
workflows:
22+
version: 2
23+
build:
24+
jobs:
25+
- build-go-latest
26+
- build-go-1.7

0 commit comments

Comments
 (0)