2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-23 03:18:55 +00:00

Remove Solaris build workaround in integration tests

This was introduced in #1821 because of issues with Go 1.9, but that
compiler version is no longer supported.
This commit is contained in:
greatroar 2020-05-25 10:33:36 +02:00
parent 84475aa3a8
commit 2a3312ac35

View File

@ -230,13 +230,7 @@ func (env *TravisEnvironment) Prepare() error {
"openbsd/386", "openbsd/amd64",
"netbsd/386", "netbsd/amd64",
"linux/arm", "freebsd/arm",
"linux/ppc64le",
}
if os.Getenv("RESTIC_BUILD_SOLARIS") == "0" {
msg("Skipping Solaris build\n")
} else {
env.goxOSArch = append(env.goxOSArch, "solaris/amd64")
"linux/ppc64le", "solaris/amd64",
}
} else {
env.goxOSArch = []string{runtime.GOOS + "/" + runtime.GOARCH}