2014-11-16 00:22:01 +00:00
|
|
|
before_install:
|
2014-11-16 00:28:09 +00:00
|
|
|
- sudo add-apt-repository ppa:ubuntu-sdk-team/ppa -y
|
2014-11-16 00:22:01 +00:00
|
|
|
- sudo apt-get update -qq
|
2014-11-16 00:28:09 +00:00
|
|
|
- sudo apt-get install -yqq libgmp3-dev qtbase5-private-dev qtdeclarative5-private-dev libqt5opengl5-dev libreadline6-dev
|
2014-11-15 02:58:09 +00:00
|
|
|
install:
|
|
|
|
- go get code.google.com/p/go.tools/cmd/goimports
|
|
|
|
- go get github.com/golang/lint/golint
|
|
|
|
- go get code.google.com/p/go.tools/cmd/vet
|
2013-12-27 10:59:00 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2014-10-18 12:20:51 +00:00
|
|
|
- 1.3
|
2014-11-15 23:45:08 +00:00
|
|
|
after_script:
|
2014-11-15 04:23:31 +00:00
|
|
|
# - gofmt -l -w .
|
|
|
|
# - goimports -l -w .
|
|
|
|
# - golint .
|
|
|
|
# - go vet ./...
|
|
|
|
# - go test -race ./...
|
2014-11-15 02:58:09 +00:00
|
|
|
- ./gocoverage.sh
|
2014-11-15 23:45:08 +00:00
|
|
|
script:
|
2014-11-15 23:56:16 +00:00
|
|
|
- chmod +x travis.sh
|
|
|
|
- ./travis.sh
|