Best solution so far

This commit is contained in:
Marius Orcsik 2018-04-08 21:43:33 +02:00
parent 2950dcc38d
commit a3b24ea9dd
No known key found for this signature in database
GPG key ID: 889CE8E4FB2D877A

View file

@ -14,13 +14,11 @@ matrix:
install:
- go get -u github.com/dave/courtney
- go get github.com/mattn/goveralls
- go get github.com/modocache/gover
- GOPATH=$GOPATH:$(pwd) go get -t -v ./...
script:
- GOPATH=$GOPATH:$(pwd) go test -v ./...
after_success:
- GOPATH=$GOPATH:$(pwd) go test -cover ./...
- GOPATH=$GOPATH:$(pwd) $GOPATH/bin/gover
- GOPATH=$GOPATH:$(pwd) $GOPATH/bin/goveralls -coverprofile gover.coverprofile -service=travis-ci -repotoken $COVERALLS_TOKEN
- GOPATH=$GOPATH:$(pwd) go test -cover -coverprofile cover.out -coverpkg activitypub,jsonld ./...
- GOPATH=$GOPATH:$(pwd) $GOPATH/bin/goveralls -coverprofile=cover.out -service=travis-ci -repotoken $COVERALLS_TOKEN