2015-11-12 09:25:00 +00:00
|
|
|
language: go
|
2015-11-12 09:17:13 +00:00
|
|
|
go:
|
|
|
|
- 1.5
|
2015-11-12 09:31:52 +00:00
|
|
|
env:
|
|
|
|
- "PATH=/home/travis/gopath/bin:$PATH"
|
|
|
|
before_install:
|
|
|
|
- go get github.com/arachnist/gorepost/bot
|
|
|
|
- go get github.com/arachnist/gorepost/irc
|
|
|
|
- go get github.com/arachnist/gorepost/config
|
2015-12-06 11:29:51 +00:00
|
|
|
- go get github.com/axw/gocov/gocov
|
|
|
|
- go get github.com/mattn/goveralls
|
2015-12-06 11:50:20 +00:00
|
|
|
- go get github.com/go-playground/overalls
|
2015-12-06 11:29:51 +00:00
|
|
|
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
|
2015-12-07 09:03:04 +00:00
|
|
|
- sudo apt-get install kyototycoon
|
|
|
|
before_script:
|
|
|
|
- ktserver -dmn -host 127.0.0.1 -port 1337
|
2015-11-12 09:17:13 +00:00
|
|
|
script:
|
2015-12-06 11:50:20 +00:00
|
|
|
- $HOME/gopath/bin/overalls -project=github.com/arachnist/gorepost -covermode=count
|
|
|
|
- $HOME/gopath/bin/goveralls -coverprofile=overalls.coverprofile -service=travis-ci
|