mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-27 21:02:11 +00:00
snap: Revert 'Skip "mage -v test" due to build failure on Launchpad'
This reverts commit 52ac85fbc4
.
This commit is contained in:
parent
fa873a6cb3
commit
f1dede3708
1 changed files with 2 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue