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