blob: dfb36183a6ccb00d2fbb4a92a89b5ff0eda748af [file] [log] [blame]
Max Lincolncfc29182013-12-12 23:24:08 -03001language: go
Jon Perritt5d0dcf32016-02-22 22:39:34 -06002sudo: false
Max Lincolncfc29182013-12-12 23:24:08 -03003install:
jrperrittf302fbf2016-02-17 14:42:12 -06004 - go get golang.org/x/crypto/ssh
Ash Wilson5250ddb2014-10-10 16:17:19 -04005 - go get -v -tags 'fixtures acceptance' ./...
Max Lincolncfc29182013-12-12 23:24:08 -03006go:
Ash Wilsoneec5ab92015-01-23 14:37:48 -05007 - 1.4
Pratik Mallya469394d2015-09-21 14:09:40 -05008 - 1.5
jrperritt53d1dc42016-02-17 15:18:06 -06009 - tip
Jon Perritt5d0dcf32016-02-22 22:39:34 -060010env:
jrperrittc47c8d02016-02-22 22:50:02 -060011 - COVERALLS_TOKEN=2k7PTU3xa474Hymwgdj6XjqenNfGTNkO8
jrperritt5c130202016-02-22 22:44:34 -060012before_install:
Max Lincolna9c4b012013-12-13 01:04:42 -030013 - go get github.com/axw/gocov/gocov
14 - go get github.com/mattn/goveralls
jrperritt6c475bb2016-02-22 23:59:14 -060015 - go get github.com/gotestcover/gotestcover
Jon Perritt5d0dcf32016-02-22 22:39:34 -060016 - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
17script:
jrperrittc47c8d02016-02-22 22:50:02 -060018 - script/cibuild
jrperritt6c475bb2016-02-22 23:59:14 -060019after_success:
20 - $HOME/gopath/bin/gotestcover -tags=fixtures -coverprofile=cover.out ./...
21 - $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=cover.out