mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 16:17:21 +00:00
mage: Skip Test386 on non-AMD64 architectures
This is to allow "mage check" to run on arm64 on Travis CI.
This commit is contained in:
1 parent
c3d433af56
commit
c6d69d0c95
1 file changed
+5
-1
+5
-1
@@ -134,7 +134,11 @@ func Check() {
|
||||
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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user