2013-12-03 10:08:55 +08:00
|
|
|
language: go
|
|
|
|
go:
|
|
|
|
- 1.2
|
|
|
|
- release
|
|
|
|
- tip
|
2014-04-15 09:47:21 +08:00
|
|
|
install:
|
2014-06-12 12:09:36 +08:00
|
|
|
- sudo apt-get install libusb-dev #libopencv-dev #libsdl2-2.0-0
|
2013-12-03 17:01:26 +08:00
|
|
|
- go get -v . && go build -v .
|
2013-12-03 17:23:24 +08:00
|
|
|
- go get github.com/onsi/ginkgo
|
|
|
|
- go get github.com/onsi/gomega
|
2014-04-15 09:47:21 +08:00
|
|
|
- go get code.google.com/p/go.tools/cmd/cover
|
|
|
|
- go get github.com/mattn/goveralls
|
2014-06-12 11:20:12 +08:00
|
|
|
- go get github.com/go-martini/martini
|
|
|
|
- go get github.com/martini-contrib/auth
|
|
|
|
- go get github.com/martini-contrib/cors
|
|
|
|
- go get github.com/hybridgroup/go-ardrone/client
|
|
|
|
- go get github.com/tarm/goserial
|
2014-06-12 11:46:28 +08:00
|
|
|
#- go get github.com/hybridgroup/go-sdl2/sdl
|
2014-06-12 11:20:12 +08:00
|
|
|
- go get code.google.com/p/go.net/websocket
|
2014-06-12 12:09:36 +08:00
|
|
|
#- go get github.com/hybridgroup/go-opencv/opencv
|
2013-12-03 10:08:55 +08:00
|
|
|
script:
|
2014-06-12 11:10:46 +08:00
|
|
|
- make cover
|
2014-04-15 09:47:21 +08:00
|
|
|
- export PATH=$PATH:$HOME/gopath/bin/
|
|
|
|
- goveralls -coverprofile=profile.cov -service=travis-ci -repotoken=sFrR9ZmLP5FLc34lOaqir67RPzYOvFPUB
|
2014-01-21 15:22:41 +08:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- gobot.io
|
2014-04-18 02:20:49 +08:00
|
|
|
- /^gobot-.*$/
|