2016-01-29 20:53:56 +01:00
|
|
|
language: go
|
2016-03-01 04:21:26 +01:00
|
|
|
sudo: false
|
2016-01-29 20:53:56 +01:00
|
|
|
install:
|
2016-03-01 04:21:26 +01:00
|
|
|
- go get golang.org/x/crypto/ssh
|
2016-01-29 20:53:56 +01:00
|
|
|
- go get -v -tags 'fixtures acceptance' ./...
|
|
|
|
go:
|
|
|
|
- 1.4
|
|
|
|
- 1.5
|
2016-03-01 04:21:26 +01:00
|
|
|
- tip
|
|
|
|
env:
|
|
|
|
- COVERALLS_TOKEN=2k7PTU3xa474Hymwgdj6XjqenNfGTNkO8
|
|
|
|
before_install:
|
2016-01-29 20:53:56 +01:00
|
|
|
- go get github.com/axw/gocov/gocov
|
|
|
|
- go get github.com/mattn/goveralls
|
2016-03-01 04:21:26 +01:00
|
|
|
- go get github.com/pierrre/gotestcover
|
|
|
|
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
|
|
|
|
script:
|
|
|
|
- $HOME/gopath/bin/gotestcover -v -tags=fixtures -coverprofile=cover.out ./...
|
|
|
|
after_success:
|
|
|
|
- $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=cover.out
|