From: Bjørn Erik Pedersen Date: Tue, 28 Aug 2018 16:36:30 +0000 (+0200) Subject: release: Fix CircleCI script X-Git-Tag: v0.48~4 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=59cdad325a1503c080c9007014c5ad76fd09f81d;p=brevno-suite%2Fhugo release: Fix CircleCI script --- diff --git a/.circleci/config.yml b/.circleci/config.yml index 941ffd03..8124bee1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,8 +1,11 @@ defaults: &defaults working_directory: /go/src/github.com/gohugoio docker: - - image: bepsays/ci-goreleaser:1.11-1 - + - image: bepsays/ci-goreleaser:1.11-2 + environment: + GO111MODULE: "on" + CGO_ENABLED: "0" + version: 2 jobs: build: @@ -12,10 +15,11 @@ jobs: path: hugo - run: command: | - env GO111MODULE=on go get github.com/magefile/mage git clone git@github.com:gohugoio/hugoDocs.git cd hugo - mage check + go mod download + sleep 5 + go test ./... - persist_to_workspace: root: . paths: .