Build on CircleCI outside of GOPATH

Fixes #5135
This commit is contained in:
Ricardo N Feliciano 2018-09-22 21:34:51 -04:00 committed by Bjørn Erik Pedersen
parent f916814697
commit ef525b15d4

View file

@ -1,9 +1,7 @@
defaults: &defaults
working_directory: /go/src/github.com/gohugoio
docker:
- image: bepsays/ci-goreleaser:1.11-2
environment:
GO111MODULE: "on"
CGO_ENABLED: "0"
version: 2
@ -27,7 +25,7 @@ jobs:
<<: *defaults
steps:
- attach_workspace:
at: /go/src/github.com/gohugoio
at: /root/project
- run:
command: |
cd hugo