mirror of
https://github.com/restic/restic.git
synced 2026-10-21 08:28:12 +00:00
Don't run Solaris build for go1.9
This commit is contained in:
1 parent
53040a2e34
commit
d6fd94e49d
2 files changed
+7
-2
No files matched your search
@@ -135,7 +135,12 @@ func (env *TravisEnvironment) Prepare() error {
|
||||
"freebsd/386", "freebsd/amd64",
|
||||
"openbsd/386", "openbsd/amd64",
|
||||
"linux/arm", "freebsd/arm",
|
||||
"solaris/amd64",
|
||||
}
|
||||
|
||||
if os.Getenv("RESTIC_BUILD_SOLARIS") == "0" {
|
||||
msg("Skipping Solaris build\n")
|
||||
} else {
|
||||
env.goxOSArch = append(env.goxOSArch, "solaris/amd64")
|
||||
}
|
||||
} else {
|
||||
env.goxOSArch = []string{runtime.GOOS + "/" + runtime.GOARCH}
|
||||
|
||||
Reference in new issue
Block a user