Skip to content

Commit

Permalink
release: Fix CircleCI script
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Aug 28, 2018
1 parent 6022f21 commit d754f4e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -12,10 +15,10 @@ jobs:
path: hugo
- run:
command: |
env GO111MODULE=on go get github.com/magefile/mage
git clone [email protected]:gohugoio/hugoDocs.git
cd hugo
mage check
go mod download
go test ./...
- persist_to_workspace:
root: .
paths: .
Expand Down

0 comments on commit d754f4e

Please sign in to comment.