2014-11-16 01:36:30 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2015-02-05 22:27:54 +00:00
|
|
|
- 1.4.1
|
2014-11-16 00:22:01 +00:00
|
|
|
before_install:
|
2015-01-30 23:24:51 +00:00
|
|
|
- sudo add-apt-repository ppa:beineri/opt-qt54 -y
|
2014-11-16 00:22:01 +00:00
|
|
|
- sudo apt-get update -qq
|
2015-01-30 23:24:51 +00:00
|
|
|
- sudo apt-get install -yqq libgmp3-dev libreadline6-dev qt54quickcontrols qt54webengine
|
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
|
2014-12-21 17:18:43 +00:00
|
|
|
# - go get golang.org/x/tools/cmd/vet
|
2014-12-21 18:05:59 +00:00
|
|
|
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
|
2014-11-16 14:34:28 +00:00
|
|
|
- go get github.com/mattn/goveralls
|
2015-02-06 00:11:31 +00:00
|
|
|
- go get gopkg.in/check.v1
|
2015-02-16 13:34:50 +00:00
|
|
|
- go get github.com/tools/godep
|
2014-11-16 01:45:05 +00:00
|
|
|
before_script:
|
2015-02-16 13:34:50 +00:00
|
|
|
- godep restore
|
2014-11-16 01:45:05 +00:00
|
|
|
- gofmt -l -w .
|
|
|
|
- goimports -l -w .
|
2014-11-17 16:21:19 +00:00
|
|
|
- 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-02-05 23:23:22 +00:00
|
|
|
- ./gocoverage.sh
|
|
|
|
after_success:
|
|
|
|
- if [ "$COVERALLS_TOKEN" ]; then goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
|
2014-11-16 14:34:28 +00:00
|
|
|
env:
|
2015-01-30 23:24:51 +00:00
|
|
|
global:
|
|
|
|
- PKG_CONFIG_PATH=/opt/qt54/lib/pkgconfig
|
|
|
|
- LD_LIBRARY_PATH=/opt/qt54/lib
|
|
|
|
- secure: "U2U1AmkU4NJBgKR/uUAebQY87cNL0+1JHjnLOmmXwxYYyj5ralWb1aSuSH3qSXiT93qLBmtaUkuv9fberHVqrbAeVlztVdUsKAq7JMQH+M99iFkC9UiRMqHmtjWJ0ok4COD1sRYixxi21wb/JrMe3M1iL4QJVS61iltjHhVdM64="
|
2014-11-16 14:34:28 +00:00
|
|
|
|