2019-07-07 09:28:09 +08:00
|
|
|
version: 2
|
|
|
|
jobs:
|
|
|
|
build-go-latest:
|
|
|
|
docker:
|
|
|
|
- image: golang:latest
|
|
|
|
working_directory: /go/src/github.com/gliderlabs/ssh
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: go get
|
|
|
|
- run: go test -v -race
|
|
|
|
|
2021-06-29 01:05:27 +08:00
|
|
|
build-go-1.12:
|
2019-07-07 09:28:09 +08:00
|
|
|
docker:
|
2021-06-29 01:05:27 +08:00
|
|
|
- image: golang:1.12
|
2019-07-07 09:28:09 +08:00
|
|
|
working_directory: /go/src/github.com/gliderlabs/ssh
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: go get
|
|
|
|
- run: go test -v -race
|
|
|
|
|
|
|
|
workflows:
|
|
|
|
version: 2
|
|
|
|
build:
|
|
|
|
jobs:
|
|
|
|
- build-go-latest
|
2021-06-29 01:05:27 +08:00
|
|
|
- build-go-1.12
|