2017-07-23 12:24:45 +00:00
|
|
|
language: go
|
|
|
|
go_import_path: github.com/pkg/sftp
|
|
|
|
|
2018-01-23 18:40:42 +00:00
|
|
|
# current and previous stable releases, plus tip
|
|
|
|
# remember to exclude previous and tip for macs below
|
2017-07-23 12:24:45 +00:00
|
|
|
go:
|
|
|
|
- 1.8.x
|
2018-01-23 18:40:42 +00:00
|
|
|
- 1.9.x
|
2017-07-23 12:24:45 +00:00
|
|
|
- tip
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- os: osx
|
2018-01-23 18:40:42 +00:00
|
|
|
go: 1.8.x
|
2017-07-23 12:24:45 +00:00
|
|
|
- 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 ./...
|