2016-11-13 00:04:55 +00:00
|
|
|
language: go
|
|
|
|
go_import_path: github.com/pkg/sftp
|
2017-05-11 14:39:54 +00:00
|
|
|
|
2018-01-16 13:20:59 +00:00
|
|
|
# current and previous stable releases, plus tip
|
|
|
|
# remember to exclude previous and tip for macs below
|
2016-11-13 00:04:55 +00:00
|
|
|
go:
|
2018-09-21 10:01:55 +00:00
|
|
|
- 1.11.x
|
2019-05-24 14:03:23 +00:00
|
|
|
- 1.12.x
|
2016-11-13 00:04:55 +00:00
|
|
|
- tip
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2017-05-11 14:39:54 +00:00
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- os: osx
|
2018-09-21 10:01:55 +00:00
|
|
|
go: 1.10.x
|
2017-05-11 14:39:54 +00:00
|
|
|
- os: osx
|
|
|
|
go: tip
|
|
|
|
|
2016-11-13 00:04:55 +00:00
|
|
|
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 ./...
|