release: Fix CircleCI script

This commit is contained in:
Bjørn Erik Pedersen 2018-08-28 18:36:30 +02:00
parent 6022f219f1
commit 59cdad325a
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -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: .