Merge pull request #2755 from greatroar/solaris-workaround

Remove Solaris build workaround in integration tests
This commit is contained in:
MichaelEischer 2020-06-10 23:30:51 +02:00 committed by GitHub
commit fae7f78057
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 7 deletions

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}