mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-13 22:04:58 +00:00
release: Fix CircleCI script
This commit is contained in:
parent
6022f219f1
commit
59cdad325a
1 changed files with 8 additions and 4 deletions
|
@ -1,8 +1,11 @@
|
||||||
defaults: &defaults
|
defaults: &defaults
|
||||||
working_directory: /go/src/github.com/gohugoio
|
working_directory: /go/src/github.com/gohugoio
|
||||||
docker:
|
docker:
|
||||||
- image: bepsays/ci-goreleaser:1.11-1
|
- image: bepsays/ci-goreleaser:1.11-2
|
||||||
|
environment:
|
||||||
|
GO111MODULE: "on"
|
||||||
|
CGO_ENABLED: "0"
|
||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -12,10 +15,11 @@ jobs:
|
||||||
path: hugo
|
path: hugo
|
||||||
- run:
|
- run:
|
||||||
command: |
|
command: |
|
||||||
env GO111MODULE=on go get github.com/magefile/mage
|
|
||||||
git clone git@github.com:gohugoio/hugoDocs.git
|
git clone git@github.com:gohugoio/hugoDocs.git
|
||||||
cd hugo
|
cd hugo
|
||||||
mage check
|
go mod download
|
||||||
|
sleep 5
|
||||||
|
go test ./...
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: .
|
root: .
|
||||||
paths: .
|
paths: .
|
||||||
|
|
Loading…
Add table
Reference in a new issue