-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
37 lines (32 loc) · 928 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
language: go
go:
- 1.9.2
- tip
matrix:
allow_failures:
- go: tip
notifications:
email:
recipients: dean.karn@gmail.com
on_success: change
on_failure: always
before_install:
- go get -u github.com/go-playground/overalls
- go get -u github.com/mattn/goveralls
- go get -u golang.org/x/tools/cmd/cover
- go get -u github.com/golang/lint/golint
- go get -u github.com/gordonklaus/ineffassign
- go get -u github.com/client9/misspell/cmd/misspell
before_script:
- go vet ./...
script:
- gofmt -d -s .
- golint ./...
- ineffassign ./
- find . -type f | xargs misspell -source=text
- go test -v ./...
- go test -race
after_success: |
[ $TRAVIS_GO_VERSION = 1.9.2 ] &&
overalls -project="github.com/go-playground/backoff" -covermode=count -ignore=.git,_examples -debug &&
goveralls -coverprofile=overalls.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN