2017-08-08 15:29:00 +02:00
|
|
|
version: 2
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
docker:
|
|
|
|
- image: golang:1.9
|
|
|
|
working_directory: /go/src/github.com/vektah/goparsify
|
|
|
|
steps:
|
|
|
|
- checkout
|
2017-08-09 13:18:14 +02:00
|
|
|
- run: go get -u github.com/golang/dep/cmd/dep github.com/alecthomas/gometalinter && gometalinter --install
|
2017-08-08 15:29:00 +02:00
|
|
|
- run: dep ensure --vendor-only
|
2017-08-09 13:18:14 +02:00
|
|
|
- run: go vet ./...
|
2017-08-08 15:29:00 +02:00
|
|
|
- run: go test -v ./...
|
2017-08-09 13:18:14 +02:00
|
|
|
- run: gometalinter . --disable gocyclo
|