Skip to content

Commit

Permalink
πŸš€ Add gitter webhook to .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
0xC0D3D00D committed Jan 12, 2020
1 parent e6afe1b commit f576da6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,28 @@
sudo: false

language: go
go:
- "1.11.x"
- "1.12.x"
- master

notifications:
webhooks:
urls:
- $GITTER_WEBHOOK
on_success: change
on_failure: always
on_start: never

matrix:
allow_failures:
- go: master
fast_finish: true

install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover

script:
- env GO111MODULE=on go test -covermode=count -coverprofile=coverage.out -v ./...
- env GO111MODULE=on $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN

0 comments on commit f576da6

Please sign in to comment.