mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Add "go mod verify" to build scripts
This commit is contained in:
parent
75c3787fc2
commit
56d0b65887
2 changed files with 3 additions and 1 deletions
|
@ -17,6 +17,7 @@ jobs:
|
|||
cd hugo
|
||||
go mod download
|
||||
sleep 5
|
||||
go mod verify
|
||||
go test -p 1 ./...
|
||||
- persist_to_workspace:
|
||||
root: .
|
||||
|
|
|
@ -64,7 +64,8 @@ install:
|
|||
- go get github.com/magefile/mage
|
||||
|
||||
script:
|
||||
- go mod download || true
|
||||
- go mod download
|
||||
- go mod verify
|
||||
- mage -v test
|
||||
- if [ "$TRAVIS_ARCH" = "amd64" ]; then
|
||||
mage -v check;
|
||||
|
|
Loading…
Reference in a new issue