commit
fdbff14e78
2 changed files with 7 additions and 5 deletions
|
@ -4,13 +4,12 @@ sudo: false
|
||||||
go:
|
go:
|
||||||
- 1.3.3
|
- 1.3.3
|
||||||
- 1.4.2
|
- 1.4.2
|
||||||
|
- 1.5
|
||||||
|
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
|
|
||||||
env: GOX_OS="linux darwin openbsd freebsd windows" GOX_ARCH="386 amd64 arm"
|
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
irc:
|
irc:
|
||||||
channels:
|
channels:
|
||||||
|
|
|
@ -47,9 +47,12 @@ func (env *TravisEnvironment) Prepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
msg("gox: OS %v, ARCH %v\n", env.goxOS, env.goxArch)
|
msg("gox: OS %v, ARCH %v\n", env.goxOS, env.goxArch)
|
||||||
run("gox", "-build-toolchain",
|
|
||||||
"-os", strings.Join(env.goxOS, " "),
|
if !strings.HasPrefix(runtime.Version(), "go1.5") {
|
||||||
"-arch", strings.Join(env.goxArch, " "))
|
run("gox", "-build-toolchain",
|
||||||
|
"-os", strings.Join(env.goxOS, " "),
|
||||||
|
"-arch", strings.Join(env.goxArch, " "))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (env *TravisEnvironment) RunTests() {
|
func (env *TravisEnvironment) RunTests() {
|
||||||
|
|
Loading…
Reference in a new issue