From: Anthony Fok Date: Thu, 5 Apr 2018 15:35:47 +0000 (-0600) Subject: snap: Revert to "mage test" because "mage check" fails X-Git-Tag: v0.38.1~5 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=db0633c1a45f69f76ad2f4034b49adbf9d60c7ae;p=brevno-suite%2Fhugo snap: Revert to "mage test" because "mage check" fails "mage check", which runs "go test", gofmt, "go vet", and "go test -race", fails one way or another especially on on non-amd64 architectures, and sometimes even on amd64 too. Partially reverting my undocumented change in commit 294c0f8. Fixes #4578 --- diff --git a/snapcraft.yaml b/snapcraft.yaml index 821a91c9..66c3ae76 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -29,7 +29,7 @@ parts: export PATH=$GOPATH/bin:$PATH cd $GOPATH/src/github.com/gohugoio/hugo go get github.com/magefile/mage - mage -v vendor check + mage -v vendor test build: | export GOPATH=$(dirname $SNAPCRAFT_PART_INSTALL)/go export PATH=$GOPATH/bin:$PATH