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:
|
2017-09-02 07:28:38 +00:00
|
|
|
- os: linux
|
2019-03-16 12:08:48 +00:00
|
|
|
go: "1.10.x"
|
|
|
|
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-04-01 09:28:46 +00:00
|
|
|
|
2016-09-15 19:25:59 +00:00
|
|
|
- os: linux
|
2019-03-16 12:08:48 +00:00
|
|
|
go: "1.11.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
|
|
|
|
|
|
|
# only run fuse and cloud backends tests on Travis for the latest Go on Linux
|
|
|
|
- os: linux
|
2019-03-16 12:08:48 +00:00
|
|
|
go: "1.12.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
|
2019-03-16 12:08:48 +00:00
|
|
|
go: "1.12.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
|