1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-22 20:06:21 +02:00
echo/.travis.yml

40 lines
741 B
YAML
Raw Normal View History

language: go
sudo: false
go:
- 1.4
- 1.5
- 1.6rc1
- tip
env:
global:
- GO15VENDOREXPERIMENT=1
before_install:
2016-01-29 14:17:39 +02:00
- 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