2014-11-16 03:36:30 +02:00
|
|
|
language: go
|
|
|
|
go:
|
2015-02-25 12:40:52 +02:00
|
|
|
- 1.4.2
|
2014-11-16 02:22:01 +02:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
2015-06-20 21:33:25 +03:00
|
|
|
- sudo apt-get install -yqq libgmp3-dev
|
2014-11-15 04:58:09 +02:00
|
|
|
install:
|
2015-02-21 14:48:09 +02:00
|
|
|
# - go get code.google.com/p/go.tools/cmd/goimports
|
|
|
|
# - go get github.com/golang/lint/golint
|
2014-12-21 19:18:43 +02:00
|
|
|
# - go get golang.org/x/tools/cmd/vet
|
2015-04-29 02:27:47 +03:00
|
|
|
- go get golang.org/x/tools/cmd/cover github.com/mattn/goveralls
|
2014-11-16 03:45:05 +02:00
|
|
|
before_script:
|
2015-02-21 14:48:09 +02:00
|
|
|
# - gofmt -l -w .
|
|
|
|
# - goimports -l -w .
|
|
|
|
# - golint .
|
2014-11-17 18:53:24 +02:00
|
|
|
# - go vet ./...
|
2014-11-15 06:23:31 +02:00
|
|
|
# - go test -race ./...
|
2014-11-16 03:45:05 +02:00
|
|
|
script:
|
2015-04-29 02:27:47 +03:00
|
|
|
- make travis-test-with-coverage
|
2015-02-06 01:23:22 +02:00
|
|
|
after_success:
|
|
|
|
- if [ "$COVERALLS_TOKEN" ]; then goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
|
2014-11-16 16:34:28 +02:00
|
|
|
env:
|
2015-01-31 01:24:51 +02:00
|
|
|
global:
|
|
|
|
- secure: "U2U1AmkU4NJBgKR/uUAebQY87cNL0+1JHjnLOmmXwxYYyj5ralWb1aSuSH3qSXiT93qLBmtaUkuv9fberHVqrbAeVlztVdUsKAq7JMQH+M99iFkC9UiRMqHmtjWJ0ok4COD1sRYixxi21wb/JrMe3M1iL4QJVS61iltjHhVdM64="
|
2014-11-16 16:34:28 +02:00
|
|
|
|
2015-03-24 11:41:04 +02:00
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/e09ccdce1048c5e03445
|
2015-06-25 17:46:54 +03:00
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
on_start: false
|