shithub: hugo

Download patch

ref: c6d69d0c95c42915956c210dbac8b884682d4a3e
parent: c3d433af56071d42aeb3f85854bd30db64ed70b8
author: Anthony Fok <foka@debian.org>
date: Thu Oct 31 14:04:54 EDT 2019

mage: Skip Test386 on non-AMD64 architectures

This is to allow "mage check" to run on arm64 on Travis CI.

--- a/magefile.go
+++ b/magefile.go
@@ -134,7 +134,11 @@
 		return
 	}
 
-	mg.Deps(Test386)
+	if runtime.GOARCH == "amd64" {
+		mg.Deps(Test386)
+	} else {
+		fmt.Printf("Skip Test386 on %s\n", runtime.GOARCH)
+	}
 
 	mg.Deps(Fmt, Vet)