aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2018-08-28 18:36:30 +0200
committerBjørn Erik Pedersen <[email protected]>2018-08-28 22:17:35 +0200
commit59cdad325a1503c080c9007014c5ad76fd09f81d (patch)
tree8ac525b85e50347209e3831193cbec0b5b149f56
parent6022f219f1043138d80a821b48b8aab8a0eeeeef (diff)
downloadhugo-59cdad325a1503c080c9007014c5ad76fd09f81d.tar.gz
hugo-59cdad325a1503c080c9007014c5ad76fd09f81d.zip
release: Fix CircleCI script
-rw-r--r--.circleci/config.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 941ffd03f..8124bee1f 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 [email protected]:gohugoio/hugoDocs.git
cd hugo
- mage check
+ go mod download
+ sleep 5
+ go test ./...
- persist_to_workspace:
root: .
paths: .