Max Lincoln | cfc2918 | 2013-12-12 23:24:08 -0300 | [diff] [blame] | 1 | language: go |
Jon Perritt | 7d5c8dc | 2016-02-23 03:46:33 -0600 | [diff] [blame] | 2 | sudo: false |
Max Lincoln | cfc2918 | 2013-12-12 23:24:08 -0300 | [diff] [blame] | 3 | install: |
Jon Perritt | 7d5c8dc | 2016-02-23 03:46:33 -0600 | [diff] [blame] | 4 | - go get golang.org/x/crypto/ssh |
Ash Wilson | 5250ddb | 2014-10-10 16:17:19 -0400 | [diff] [blame] | 5 | - go get -v -tags 'fixtures acceptance' ./... |
Max Lincoln | cfc2918 | 2013-12-12 23:24:08 -0300 | [diff] [blame] | 6 | go: |
Ash Wilson | eec5ab9 | 2015-01-23 14:37:48 -0500 | [diff] [blame] | 7 | - 1.4 |
Pratik Mallya | 469394d | 2015-09-21 14:09:40 -0500 | [diff] [blame] | 8 | - 1.5 |
Jon Perritt | 7d5c8dc | 2016-02-23 03:46:33 -0600 | [diff] [blame] | 9 | - tip |
| 10 | env: |
| 11 | - COVERALLS_TOKEN=2k7PTU3xa474Hymwgdj6XjqenNfGTNkO8 |
| 12 | before_install: |
Max Lincoln | a9c4b01 | 2013-12-13 01:04:42 -0300 | [diff] [blame] | 13 | - go get github.com/axw/gocov/gocov |
| 14 | - go get github.com/mattn/goveralls |
Jon Perritt | 7d5c8dc | 2016-02-23 03:46:33 -0600 | [diff] [blame] | 15 | - go get github.com/pierrre/gotestcover |
| 16 | - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi |
| 17 | script: |
| 18 | - $HOME/gopath/bin/gotestcover -v -tags=fixtures -coverprofile=cover.out ./... |
| 19 | after_success: |
| 20 | - $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=cover.out |