mirror of https://github.com/restic/restic.git
Travis: Also cache on Darwin
This commit is contained in:
parent
ca928aeae4
commit
44f38ad049
16
.travis.yml
16
.travis.yml
|
@ -6,19 +6,31 @@ matrix:
|
||||||
- os: linux
|
- os: linux
|
||||||
go: "1.9.x"
|
go: "1.9.x"
|
||||||
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0 RESTIC_BUILD_SOLARIS=0
|
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0 RESTIC_BUILD_SOLARIS=0
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.cache/go-build
|
||||||
|
|
||||||
- os: linux
|
- os: linux
|
||||||
go: "1.10.x"
|
go: "1.10.x"
|
||||||
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0
|
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.cache/go-build
|
||||||
|
|
||||||
# only run fuse and cloud backends tests on Travis for the latest Go on Linux
|
# only run fuse and cloud backends tests on Travis for the latest Go on Linux
|
||||||
- os: linux
|
- os: linux
|
||||||
go: "1.11.x"
|
go: "1.11.x"
|
||||||
sudo: true
|
sudo: true
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.cache/go-build
|
||||||
|
|
||||||
- os: osx
|
- os: osx
|
||||||
go: "1.11.x"
|
go: "1.11.x"
|
||||||
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0
|
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/Library/Caches/go-build
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
@ -32,10 +44,6 @@ notifications:
|
||||||
on_failure: change
|
on_failure: change
|
||||||
skip_join: true
|
skip_join: true
|
||||||
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- $HOME/.cache/go-build
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- go version
|
- go version
|
||||||
- export GOBIN="$GOPATH/bin"
|
- export GOBIN="$GOPATH/bin"
|
||||||
|
|
Loading…
Reference in New Issue