ci: Enable use of Go modules

Temporary until Go 1.13
This commit is contained in:
Matthew Holt 2019-04-06 16:30:58 -06:00
parent e28ee90c2a
commit 04789a2446

View File

@ -24,6 +24,8 @@ variables:
GOPATH: $(system.defaultWorkingDirectory)/gopath GOPATH: $(system.defaultWorkingDirectory)/gopath
GOBIN: $(GOPATH)/bin GOBIN: $(GOPATH)/bin
modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)'
# TODO: modules should be the default in Go 1.13, so this won't be needed
GO111MODULE: on
steps: steps:
- bash: | - bash: |