1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-22 20:06:21 +02:00
echo/.travis.yml
Vishal Rana be5efe5927 Test for #275
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-03 07:50:24 -07:00

40 lines
743 B
YAML

language: go
sudo: false
go:
- 1.4
- 1.5
- 1.6rc1
- tip
env:
global:
- GO15VENDOREXPERIMENT=1
before_install:
- export PATH=$PATH:$GOPATH/bin
# - go get golang.org/x/tools/cmd/vet
- go get golang.org/x/tools/cmd/cover
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
install:
- go get -t -v ./...
script:
- go vet ./...
- go test -v -race ./...
- diff -u <(echo -n) <(gofmt -d -s .)
- go test -v -coverprofile=echo.coverprofile
- go test -v -coverprofile=middleware.coverprofile ./middleware
- gover
- goveralls -coverprofile=gover.coverprofile -service=travis-ci
notifications:
email:
on_success: change
on_failure: always
matrix:
allow_failures:
- go: tip