diff --git a/run_integration_tests.go b/run_integration_tests.go index ace2fc4c..24983962 100644 --- a/run_integration_tests.go +++ b/run_integration_tests.go @@ -323,11 +323,14 @@ func (env *TravisEnvironment) RunTests() error { if *runCrossCompile && !(runtime.Version() < "go1.7") { // compile for all target architectures with tags for _, tags := range []string{"release", "debug"} { - runWithEnv(env.env, "gox", "-verbose", + err := runWithEnv(env.env, "gox", "-verbose", "-osarch", strings.Join(env.goxOSArch, " "), "-tags", tags, "-output", "/tmp/{{.Dir}}_{{.OS}}_{{.Arch}}", "cmds/restic") + if err != nil { + return err + } } } diff --git a/vendor/src/golang.org/x/sys/unix/ztypes_linux_arm.go b/vendor/src/golang.org/x/sys/unix/ztypes_linux_arm.go index 817ac9c2..66f8d117 100644 --- a/vendor/src/golang.org/x/sys/unix/ztypes_linux_arm.go +++ b/vendor/src/golang.org/x/sys/unix/ztypes_linux_arm.go @@ -145,6 +145,15 @@ type Fsid struct { X__val [2]int32 } +const ( + FADV_NORMAL = 0x0 + FADV_RANDOM = 0x1 + FADV_SEQUENTIAL = 0x2 + FADV_WILLNEED = 0x3 + FADV_DONTNEED = 0x4 + FADV_NOREUSE = 0x5 +) + type Flock_t struct { Type int16 Whence int16