mirror of
				https://github.com/FluuxIO/go-xmpp.git
				synced 2025-11-03 08:43:44 -08:00 
			
		
		
		
	Fix Coveralls support
This commit is contained in:
		@@ -3,13 +3,12 @@ sudo: false
 | 
			
		||||
language: go
 | 
			
		||||
 | 
			
		||||
go:
 | 
			
		||||
  - 1.5
 | 
			
		||||
  - tip
 | 
			
		||||
 | 
			
		||||
install:
 | 
			
		||||
  - go get golang.org/x/tools/cmd/cover
 | 
			
		||||
before_install:
 | 
			
		||||
  - go get github.com/axw/gocov/gocov
 | 
			
		||||
  - go get github.com/mattn/goveralls
 | 
			
		||||
  - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
 | 
			
		||||
 | 
			
		||||
script:
 | 
			
		||||
  - go test -v ./xmpp -covermode=count -coverprofile=coverage.out
 | 
			
		||||
  - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
 | 
			
		||||
    - $HOME/gopath/bin/goveralls -service=travis-ci
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user