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
build-go-1.12:
- image: golang:1.12
workflows:
build:
- build-go-latest
- build-go-1.12