2
2
mirror of https://github.com/octoleo/restic.git synced 2024-09-28 14:39:01 +00:00

integration: compile on current architecture by default

This commit is contained in:
Alexander Neumann 2015-08-19 20:44:37 +02:00
parent 527593c6df
commit 23845b071b

View File

@ -41,6 +41,9 @@ func (env *TravisEnvironment) Prepare() {
} }
env.goxOS = []string{"linux", "darwin", "freebsd", "openbsd", "windows"} 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) msg("gox: OS %v, ARCH %v\n", env.goxOS, env.goxArch)