Skip to content

Commit

Permalink
add travis
Browse files Browse the repository at this point in the history
  • Loading branch information
o1egl committed Jun 25, 2017
1 parent 2903fbe commit 698d8ef
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
@@ -0,0 +1,20 @@
language: go
go:
- 1.7
- 1.8
- tip
before_install:
- export PATH=$PATH:$GOPATH/bin
- go get github.com/modocache/gover
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
install:
- go get -t -v ./...
script:
- diff -u <(echo -n) <(gofmt -d -s $(find . -type f -name '*.go'))
- go test -test.v -race -coverprofile=ratelimit.coverprofile
- gover
- goveralls -coverprofile=gover.coverprofile -service=travis-ci
matrix:
allow_failures:
- go: tip

0 comments on commit 698d8ef

Please sign in to comment.