2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-29 16:23:59 +00:00
restic/.travis.yml

62 lines
1.3 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
go: "1.9.x"
2018-06-04 13:04:50 +00:00
env: RESTIC_TEST_FUSE=0 RESTIC_TEST_CLOUD_BACKENDS=0 RESTIC_BUILD_SOLARIS=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
go: "1.10.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
go: "1.11.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
2018-08-05 19:05:15 +00:00
go: "1.11.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