workspace: base: /go path: src/github.com/packethost/packngo pipeline: lint: image: golang:1.8 commands: - go get -v -u github.com/alecthomas/gometalinter - gometalinter --install - go get -v ./... - | gometalinter --disable=gas ./... || : - | gometalinter --disable-all --enable=gas ./... || : - | gofmt -d . | (! grep '.') || ok=false - if ! $ok; then exit 1; fi build: image: golang:1.8 commands: - go build -i -v ./... test: image: golang:1.8 commands: - go test ./...