2014-11-15 19:36:30 -06:00
|
|
|
language: go
|
|
|
|
go:
|
|
|
|
- 1.3
|
2014-11-15 18:22:01 -06:00
|
|
|
before_install:
|
2014-11-15 18:28:09 -06:00
|
|
|
- sudo add-apt-repository ppa:ubuntu-sdk-team/ppa -y
|
2014-11-15 18:22:01 -06:00
|
|
|
- sudo apt-get update -qq
|
2014-11-15 18:28:09 -06:00
|
|
|
- sudo apt-get install -yqq libgmp3-dev qtbase5-private-dev qtdeclarative5-private-dev libqt5opengl5-dev libreadline6-dev
|
2014-11-14 20:58:09 -06:00
|
|
|
install:
|
|
|
|
- go get code.google.com/p/go.tools/cmd/goimports
|
|
|
|
- go get github.com/golang/lint/golint
|
2014-11-17 10:53:24 -06:00
|
|
|
# - go get code.google.com/p/go.tools/cmd/vet
|
2014-11-15 18:54:26 -06:00
|
|
|
- go get code.google.com/p/go.tools/cmd/cover
|
2014-11-16 08:34:28 -06:00
|
|
|
- go get github.com/mattn/goveralls
|
2014-11-15 19:36:30 -06:00
|
|
|
- ./install_deps.sh
|
2014-11-15 19:45:05 -06:00
|
|
|
before_script:
|
|
|
|
- gofmt -l -w .
|
|
|
|
- goimports -l -w .
|
2014-11-17 10:21:19 -06:00
|
|
|
- golint .
|
2014-11-17 10:53:24 -06:00
|
|
|
# - go vet ./...
|
2014-11-14 22:23:31 -06:00
|
|
|
# - go test -race ./...
|
2014-11-15 19:45:05 -06:00
|
|
|
script:
|
2014-11-14 20:58:09 -06:00
|
|
|
- ./gocoverage.sh
|
2014-11-16 08:34:28 -06:00
|
|
|
after_script:
|
|
|
|
- goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN
|
|
|
|
env:
|
|
|
|
- secure: "U2U1AmkU4NJBgKR/uUAebQY87cNL0+1JHjnLOmmXwxYYyj5ralWb1aSuSH3qSXiT93qLBmtaUkuv9fberHVqrbAeVlztVdUsKAq7JMQH+M99iFkC9UiRMqHmtjWJ0ok4COD1sRYixxi21wb/JrMe3M1iL4QJVS61iltjHhVdM64="
|
|
|
|
|