snap: Revert 'Skip "mage -v test" due to build failure on Launchpad'
authorAnthony Fok <foka@debian.org>
Sun, 30 Sep 2018 05:31:06 +0000 (23:31 -0600)
committerAnthony Fok <foka@debian.org>
Mon, 1 Oct 2018 05:02:58 +0000 (23:02 -0600)
This reverts commit 52ac85fbc4d4066b5e13df454593597df0166262.

snap/snapcraft.yaml

index 4c85cf8424fb8103419dbde749bcb78844f15e4c..ddf79148898dec4abc945428872e9dd42ac46690 100644 (file)
@@ -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