summaryrefslogtreecommitdiffstats
path: root/snapcraft.yaml
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2018-04-05 09:35:47 -0600
committerAnthony Fok <foka@debian.org>2018-04-05 09:35:47 -0600
commitdb0633c1a45f69f76ad2f4034b49adbf9d60c7ae (patch)
tree9fc63375303cd963bdd5c77f35e2e318d0827ea0 /snapcraft.yaml
parent874159b5436bc9080aec71a9c26d35f8f62c9fd0 (diff)
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
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 821a91c94..66c3ae76a 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