Try Go 1.11beta2 on Travis

This commit is contained in:
Alexander Neumann 2018-08-01 21:39:20 +02:00
parent 3422c1ca83
commit aee25502d2
2 changed files with 4 additions and 9 deletions

View file

@ -4,17 +4,12 @@ sudo: false
matrix:
include:
- os: linux
go: "1.9.x"
go: "1.10.x"
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0 RESTIC_BUILD_SOLARIS=0
# only run fuse and cloud backends tests on Travis for the latest Go on Linux
- os: linux
go: "1.10.x"
sudo: true
- os: osx
go: "1.10.x"
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0
go: "1.11beta2"
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0 RESTIC_BUILD_SOLARIS=0
branches:
only:

View file

@ -246,7 +246,7 @@ func (env *TravisEnvironment) RunTests() error {
}
// run the build script
if err := run("go", "run", "build.go"); err != nil {
if err := run("go", "run", "build.go", "-v", "-T"); err != nil {
return err
}