restic/.travis.yml

62 lines
1.2 KiB
YAML
Raw Normal View History

2015-03-14 15:38:59 +01:00
language: go
2015-07-02 16:24:57 +02:00
sudo: false
matrix:
include:
2017-09-02 09:28:38 +02:00
- os: linux
2019-03-16 13:08:48 +01:00
go: "1.10.x"
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0
2018-08-31 21:33:30 +02:00
cache:
directories:
- $HOME/.cache/go-build
2018-08-31 21:48:04 +02:00
- $HOME/gopath/pkg/mod
2016-09-15 21:25:59 +02:00
- os: linux
2019-03-16 13:08:48 +01:00
go: "1.11.x"
2018-08-05 21:05:15 +02:00
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0
2018-08-31 21:33:30 +02:00
cache:
directories:
- $HOME/.cache/go-build
2018-08-31 21:48:04 +02:00
- $HOME/gopath/pkg/mod
2018-08-05 21:05:15 +02:00
# only run fuse and cloud backends tests on Travis for the latest Go on Linux
- os: linux
2019-03-16 13:08:48 +01:00
go: "1.12.x"
2016-09-15 21:25:59 +02:00
sudo: true
2018-08-31 21:33:30 +02:00
cache:
directories:
- $HOME/.cache/go-build
2018-08-31 21:48:04 +02:00
- $HOME/gopath/pkg/mod
- os: osx
2019-03-16 13:08:48 +01:00
go: "1.12.x"
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0
2018-08-31 21:33:30 +02:00
cache:
directories:
- $HOME/Library/Caches/go-build
2018-08-31 21:48:04 +02:00
- $HOME/gopath/pkg/mod
2016-09-15 21:25:59 +02:00
2016-12-30 15:18:49 +01:00
branches:
only:
- master
2015-03-14 15:37:12 +01:00
notifications:
irc:
channels:
- "chat.freenode.net#restic"
on_success: change
on_failure: change
skip_join: true
install:
2015-06-13 13:21:00 +02: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 20:56:25 +02:00
- test -r all.cov && bash <(curl -s https://codecov.io/bash) -f all.cov