summaryrefslogtreecommitdiffstats
path: root/snap/snapcraft.yaml
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2018-09-29 23:31:06 -0600
committerAnthony Fok <foka@debian.org>2018-09-30 23:02:58 -0600
commitf1dede370840f0ba38e6c0a2e55cd7922167966d (patch)
tree1cb5c713e65c97091d582a3494ee6aad845633ac /snap/snapcraft.yaml
parentfa873a6cb3f0fa81002fcd725ecd52fc4b9df48f (diff)
snap: Revert 'Skip "mage -v test" due to build failure on Launchpad'
Diffstat (limited to 'snap/snapcraft.yaml')
-rw-r--r--snap/snapcraft.yaml9
1 files changed, 2 insertions, 7 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 4c85cf842..ddf791488 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -38,13 +38,8 @@ parts:
echo ' * Running "go get -v github.com/magefile/mage"...'
go get -v github.com/magefile/mage
-
- # Skipping "mage -v test" because "go test ./... -tags none" fails with
- # "use of internal package github.com/gohugoio/hugo/tpl/internal not allowed"
- # on autobuilder on Launchpad, see
- # https://launchpadlibrarian.net/390252700/buildlog_snap_ubuntu_xenial_amd64_hugo-dev_BUILDING.txt.gz
- #echo ' * Running "mage -v test"...'
- #mage -v test
+ echo ' * Running "mage -v test"...'
+ mage -v test
echo " * Building hugo (build tag: none)..."
[ "$SNAPCRAFT_PROJECT_GRADE" = "stable" ] && mage -v hugoNoGitInfo || mage -v hugo