Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit 5d0dcf3

Browse files
author
Jon Perritt
committed
try to fix coveralls in .travis.yml
1 parent 3be6938 commit 5d0dcf3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
language: go
2+
sudo: false
23
install:
34
- go get golang.org/x/crypto/ssh
45
- go get -v -tags 'fixtures acceptance' ./...
56
go:
67
- 1.4
78
- 1.5
89
- tip
10+
env:
11+
- COVERALLS_TOKEN=2k7PTU3xa474Hymwgdj6XjqenNfGTNkO8
912
script: script/cibuild
1013
after_success:
11-
- go get golang.org/x/tools/cmd/cover
1214
- go get github.com/axw/gocov/gocov
1315
- go get github.com/mattn/goveralls
14-
- export PATH=$PATH:$HOME/gopath/bin/
15-
- goveralls 2k7PTU3xa474Hymwgdj6XjqenNfGTNkO8
16-
sudo: false
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/goveralls

0 commit comments

Comments
 (0)