forked from TrueCloudLab/restic
Do not build toolchain with gox for Go >= 1.5
This commit is contained in:
parent
2fa93b291a
commit
c88c48a29f
1 changed files with 1 additions and 2 deletions
|
@ -191,8 +191,7 @@ func (env *TravisEnvironment) Prepare() error {
|
|||
|
||||
msg("gox: OS/ARCH %v\n", env.goxOSArch)
|
||||
|
||||
v := runtime.Version()
|
||||
if !strings.HasPrefix(v, "go1.5") && !strings.HasPrefix(v, "go1.6") {
|
||||
if runtime.Version() < "go1.5" {
|
||||
err := run("gox", "-build-toolchain",
|
||||
"-osarch", strings.Join(env.goxOSArch, " "))
|
||||
|
||||
|
|
Loading…
Reference in a new issue