coveralls badge
diff --git a/.travis.yml b/.travis.yml
index 325b90a..42c095d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,16 +1,20 @@
language: go
+sudo: false
install:
+ - go get golang.org/x/crypto/ssh
- go get -v -tags 'fixtures acceptance' ./...
go:
- - 1.2
- - 1.3
- 1.4
- 1.5
-script: script/cibuild
-after_success:
- - go get golang.org/x/tools/cmd/cover
+ - tip
+env:
+ - COVERALLS_TOKEN=2k7PTU3xa474Hymwgdj6XjqenNfGTNkO8
+before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- - export PATH=$PATH:$HOME/gopath/bin/
- - goveralls 2k7PTU3xa474Hymwgdj6XjqenNfGTNkO8
-sudo: false
+ - 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
diff --git a/README.md b/README.md
index 0a0da59..8017a6d 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
# Gophercloud: an OpenStack SDK for Go
-[](https://travis-ci.org/rackspace/gophercloud)
+[](https://travis-ci.org/rackspace/gophercloud) [](https://coveralls.io/r/gophercloud/gophercloud)
Gophercloud is a flexible SDK that allows you to consume and work with OpenStack
clouds in a simple and idiomatic way using golang. Many services are supported,