2013-12-03 10:08:55 +08:00
|
|
|
language: go
|
|
|
|
go:
|
|
|
|
- 1.2
|
|
|
|
- release
|
|
|
|
- tip
|
2014-06-14 09:03:50 +08:00
|
|
|
before_install:
|
2014-06-14 09:44:18 +08:00
|
|
|
- sudo add-apt-repository -y ppa:kubuntu-ppa/backports
|
|
|
|
- sudo add-apt-repository -y ppa:zoogie/sdl2-snapshots
|
2014-06-14 09:15:55 +08:00
|
|
|
- sudo apt-get update
|
2014-06-15 09:53:21 +08:00
|
|
|
- sudo apt-get install --force-yes libcv-dev libcvaux-dev libhighgui-dev libopencv-dev libsdl2-dev libsdl2-image-dev libsdl2
|
2014-04-15 09:47:21 +08:00
|
|
|
install:
|
2014-06-14 09:44:18 +08:00
|
|
|
- sudo apt-get install libusb-dev
|
2013-12-03 17:01:26 +08:00
|
|
|
- go get -v . && go build -v .
|
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-14 09:47:56 +08:00
|
|
|
- go get github.com/bmizerany/pat
|
2014-06-12 11:20:12 +08:00
|
|
|
- go get github.com/hybridgroup/go-ardrone/client
|
|
|
|
- go get github.com/tarm/goserial
|
2014-06-14 09:44:18 +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-14 09:03:50 +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-.*$/
|