From 23845b071b8cc3702b90f31ec2de80c1fbc32670 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Wed, 19 Aug 2015 20:44:37 +0200 Subject: [PATCH] integration: compile on current architecture by default --- run_integration_tests.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run_integration_tests.go b/run_integration_tests.go index 22b9f6437..43dab3fcd 100644 --- a/run_integration_tests.go +++ b/run_integration_tests.go @@ -41,6 +41,9 @@ func (env *TravisEnvironment) Prepare() { } env.goxOS = []string{"linux", "darwin", "freebsd", "openbsd", "windows"} + } else { + env.goxArch = []string{runtime.GOARCH} + env.goxOS = []string{runtime.GOOS} } msg("gox: OS %v, ARCH %v\n", env.goxOS, env.goxArch)