2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-01 17:23:57 +00:00
restic/vendor/github.com/pkg/sftp/.travis.yml
2017-07-23 14:25:38 +02:00

38 lines
632 B
YAML

language: go
go_import_path: github.com/pkg/sftp
# current and previous stable releases, and tip
go:
- 1.7.x
- 1.8.x
- tip
os:
- linux
- osx
matrix:
exclude:
- os: osx
go: 1.7.x
- os: osx
go: tip
sudo: false
addons:
ssh_known_hosts:
- bitbucket.org
install:
- go get -t -v ./...
- ssh-keygen -t rsa -q -P "" -f $HOME/.ssh/id_rsa
script:
- go test -integration -v ./...
- go test -testserver -v ./...
- go test -integration -testserver -v ./...
- go test -race -integration -v ./...
- go test -race -testserver -v ./...
- go test -race -integration -testserver -v ./...