1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-24 08:22:21 +02:00
echo/.travis.yml
Oleg Lobanov acc91b28f3 Improve test coverage (#544)
* Improve test coverage

* add engine package to coverage profile
2016-06-05 16:17:01 -07:00

20 lines
608 B
YAML

language: go
go:
- 1.5
- 1.6
- tip
before_install:
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
script:
- go test -coverprofile=echo.coverprofile
- go test -coverprofile=middleware.coverprofile ./middleware
- go test -coverprofile=engine_standatd.coverprofile ./engine/standard
- go test -coverprofile=engine_fasthttp.coverprofile ./engine/fasthttp
- $HOME/gopath/bin/gover
- $HOME/gopath/bin/goveralls -coverprofile=gover.coverprofile -service=travis-ci
matrix:
allow_failures:
- go: tip