Looks like build stages demand a "test" stage, so put that first.

This commit is contained in:
David Anderson 2017-05-20 22:43:03 -07:00
parent 3be6a1a6d8
commit c94f7ca1c6

View File

@ -10,14 +10,7 @@ os:
jobs: jobs:
include: include:
- stage: build - stage: test
install:
- go get github.com/Masterminds/glide
- go get github.com/golang/lint/golint
script:
- glide install
- go build $(glide novendor)
- stage: test (amd64 only)
install: install:
- go get github.com/Masterminds/glide - go get github.com/Masterminds/glide
- go get github.com/golang/lint/golint - go get github.com/golang/lint/golint
@ -26,9 +19,18 @@ jobs:
- go test $(glide novendor) - go test $(glide novendor)
- go vet $(glide novendor) - go vet $(glide novendor)
- glide novendor | xargs -n1 golint - glide novendor | xargs -n1 golint
go: 1.8 go:
- 1.7
- 1.8
env: env:
- GOARCH=amd64 - GOARCH=amd64
- stage: build
install:
- go get github.com/Masterminds/glide
- go get github.com/golang/lint/golint
script:
- glide install
- go build $(glide novendor)
# install: # install:
# - go get github.com/Masterminds/glide # - go get github.com/Masterminds/glide