2015-03-14 14:38:59 +00:00
|
|
|
language: go
|
2015-07-02 14:24:57 +00:00
|
|
|
sudo: false
|
2015-05-06 18:42:11 +00:00
|
|
|
|
2016-02-06 12:04:49 +00:00
|
|
|
matrix:
|
2018-04-01 09:28:46 +00:00
|
|
|
include:
|
2016-09-15 19:25:59 +00:00
|
|
|
- os: linux
|
2020-02-26 19:22:13 +00:00
|
|
|
go: "1.12.x"
|
2018-08-05 19:05:15 +00:00
|
|
|
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0
|
2018-08-31 19:33:30 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/go-build
|
2018-08-31 19:48:04 +00:00
|
|
|
- $HOME/gopath/pkg/mod
|
2018-08-05 19:05:15 +00:00
|
|
|
|
|
|
|
- os: linux
|
2020-02-26 19:22:13 +00:00
|
|
|
go: "1.13.x"
|
2019-11-20 17:32:58 +00:00
|
|
|
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/go-build
|
|
|
|
- $HOME/gopath/pkg/mod
|
|
|
|
|
|
|
|
- os: linux
|
2020-02-26 19:22:13 +00:00
|
|
|
go: "1.14.x"
|
2020-09-12 14:52:21 +00:00
|
|
|
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/go-build
|
|
|
|
- $HOME/gopath/pkg/mod
|
|
|
|
|
|
|
|
# only run fuse and cloud backends tests on Travis for the latest Go on Linux
|
|
|
|
- os: linux
|
|
|
|
go: "1.15.x"
|
2016-09-15 19:25:59 +00:00
|
|
|
sudo: true
|
2018-08-31 19:33:30 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/go-build
|
2018-08-31 19:48:04 +00:00
|
|
|
- $HOME/gopath/pkg/mod
|
2018-04-01 09:28:46 +00:00
|
|
|
|
|
|
|
- os: osx
|
2020-09-12 14:52:21 +00:00
|
|
|
go: "1.15.x"
|
2018-04-01 09:28:46 +00:00
|
|
|
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0
|
2018-08-31 19:33:30 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/Library/Caches/go-build
|
2018-08-31 19:48:04 +00:00
|
|
|
- $HOME/gopath/pkg/mod
|
2016-09-15 19:25:59 +00:00
|
|
|
|
2016-12-30 14:18:49 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2016-02-06 12:04:49 +00:00
|
|
|
|
2015-03-14 14:37:12 +00:00
|
|
|
notifications:
|
2015-04-26 11:09:40 +00:00
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "chat.freenode.net#restic"
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|
2015-05-17 22:02:51 +00:00
|
|
|
skip_join: true
|
2015-03-14 12:19:52 +00:00
|
|
|
|
|
|
|
install:
|
2015-06-13 11:21:00 +00:00
|
|
|
- go version
|
|
|
|
- export GOBIN="$GOPATH/bin"
|
|
|
|
- export PATH="$PATH:$GOBIN"
|
|
|
|
- go env
|
2015-03-14 12:19:52 +00:00
|
|
|
|
|
|
|
script:
|
2015-08-19 18:12:41 +00:00
|
|
|
- go run run_integration_tests.go
|