2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-28 04:56:04 +00:00
restic/.travis.yml

62 lines
1.2 KiB
YAML
Raw Normal View History

2015-03-14 14:38:59 +00:00
language: go
2015-07-02 14:24:57 +00:00
sudo: false
matrix:
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
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
- os: osx
2019-03-16 12:08:48 +00:00
go: "1.12.x"
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
2015-03-14 14:37:12 +00:00
notifications:
irc:
channels:
- "chat.freenode.net#restic"
on_success: change
on_failure: change
skip_join: true
install:
2015-06-13 11:21:00 +00:00
- go version
- export GOBIN="$GOPATH/bin"
- export PATH="$PATH:$GOBIN"
- go env
script:
- go run run_integration_tests.go
after_success:
2018-08-31 18:56:25 +00:00
- test -r all.cov && bash <(curl -s https://codecov.io/bash) -f all.cov