ci: Add "go mod download" to CI scripts

To hopefully make them less flaky.
This commit is contained in:
Bjørn Erik Pedersen 2018-09-24 10:31:59 +02:00
parent 3b6bd1210a
commit cf47f43ff1
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
2 changed files with 2 additions and 0 deletions

View file

@ -22,6 +22,7 @@ install:
- cd $HOME/src/hugo
- go get github.com/magefile/mage
script:
- go mod download
- mage -v test
- mage -v check
- mage -v hugo

View file

@ -17,6 +17,7 @@ install:
- go get github.com/magefile/mage
build_script:
- go mod download
- mage hugoRace
- mage -v check
- hugo -s docs/