Build on CircleCI outside of GOPATH
authorRicardo N Feliciano <FelicianoTech@gmail.com>
Sun, 23 Sep 2018 01:34:51 +0000 (21:34 -0400)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 23 Sep 2018 16:50:26 +0000 (18:50 +0200)
Fixes #5135

.circleci/config.yml

index eae7e63350c84e0f1db0ac7820b222cb406b2ab6..30ae14c0c6f947f6792b7a78279df2c083bb12cb 100644 (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