21 lines
612 B
YAML
21 lines
612 B
YAML
language: go
|
|
sudo: false
|
|
install:
|
|
- go get golang.org/x/crypto/ssh
|
|
- go get -v -tags 'fixtures acceptance' ./...
|
|
go:
|
|
- 1.4
|
|
- 1.5
|
|
- tip
|
|
env:
|
|
- COVERALLS_TOKEN=2k7PTU3xa474Hymwgdj6XjqenNfGTNkO8
|
|
before_install:
|
|
- go get github.com/axw/gocov/gocov
|
|
- go get github.com/mattn/goveralls
|
|
- 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
|