2014-11-16 01:36:30 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2015-02-25 10:40:52 +00:00
|
|
|
- 1.4.2
|
2014-11-15 02:58:09 +00:00
|
|
|
install:
|
2015-02-21 12:48:09 +00:00
|
|
|
# - go get code.google.com/p/go.tools/cmd/goimports
|
|
|
|
# - go get github.com/golang/lint/golint
|
2014-12-21 17:18:43 +00:00
|
|
|
# - go get golang.org/x/tools/cmd/vet
|
2015-08-18 20:46:48 +00:00
|
|
|
- go get golang.org/x/tools/cmd/cover
|
2014-11-16 01:45:05 +00:00
|
|
|
before_script:
|
2015-02-21 12:48:09 +00:00
|
|
|
# - gofmt -l -w .
|
|
|
|
# - goimports -l -w .
|
|
|
|
# - golint .
|
2014-11-17 16:53:24 +00:00
|
|
|
# - go vet ./...
|
2014-11-15 04:23:31 +00:00
|
|
|
# - go test -race ./...
|
2014-11-16 01:45:05 +00:00
|
|
|
script:
|
2015-04-28 23:27:47 +00:00
|
|
|
- make travis-test-with-coverage
|
2015-02-05 23:23:22 +00:00
|
|
|
after_success:
|
2015-08-18 20:46:48 +00:00
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2014-11-16 14:34:28 +00:00
|
|
|
env:
|
2015-01-30 23:24:51 +00:00
|
|
|
global:
|
|
|
|
- secure: "U2U1AmkU4NJBgKR/uUAebQY87cNL0+1JHjnLOmmXwxYYyj5ralWb1aSuSH3qSXiT93qLBmtaUkuv9fberHVqrbAeVlztVdUsKAq7JMQH+M99iFkC9UiRMqHmtjWJ0ok4COD1sRYixxi21wb/JrMe3M1iL4QJVS61iltjHhVdM64="
|
2015-07-18 14:12:48 +00:00
|
|
|
sudo: false
|
2015-03-24 09:41:04 +00:00
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/e09ccdce1048c5e03445
|
2015-06-25 14:46:54 +00:00
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
on_start: false
|