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