Merge pull request #5639 from hashicorp/checkout-outside-gopath

CircleCI: Checkout code outside GOPATH
This commit is contained in:
Alvin Huang 2019-04-10 13:19:58 -04:00 committed by GitHub
commit 732c93fdee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -29,7 +29,6 @@ jobs:
- image: *GOLANG_IMAGE - image: *GOLANG_IMAGE
environment: &build-env environment: &build-env
GOXPARALLEL: 2 # CircleCI containers are 2 CPU x 4GB RAM GOXPARALLEL: 2 # CircleCI containers are 2 CPU x 4GB RAM
working_directory: /go/src/github.com/hashicorp/consul
steps: steps:
- checkout - checkout
- run: make tools - run: make tools
@ -67,7 +66,6 @@ jobs:
dev-build: dev-build:
docker: docker:
- image: *GOLANG_IMAGE - image: *GOLANG_IMAGE
working_directory: /go/src/github.com/hashicorp/consul
steps: steps:
- checkout - checkout
- run: make dev - run: make dev

View File

@ -1,7 +1,7 @@
SHELL = bash SHELL = bash
GOTOOLS = \ GOTOOLS = \
github.com/elazarl/go-bindata-assetfs/... \ github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs \
github.com/hashicorp/go-bindata/... \ github.com/hashicorp/go-bindata/go-bindata \
github.com/mitchellh/gox \ github.com/mitchellh/gox \
golang.org/x/tools/cmd/cover \ golang.org/x/tools/cmd/cover \
golang.org/x/tools/cmd/stringer \ golang.org/x/tools/cmd/stringer \