hybridgroup.gobot/.travis.yml

46 lines
1.7 KiB
YAML
Raw Normal View History

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:
- apt-get -y install autoconf automake build-essential git libass-dev libgpac-dev \
libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libx11-dev \
libxext-dev libxfixes-dev pkg-config texi2html zlib1g-dev yasm libmp3lame-dev \
libvpx-dev cmake libgtk2.0-dev pkg-config libjpeg8 libjpeg8-dev \
libgstreamer0.10-0 libgstreamer0.10-dev gstreamer0.10-tools gstreamer0.10-plugins-base \
libgstreamer-plugins-base0.10-dev gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly \
gstreamer0.10-plugins-bad gstreamer0.10-ffmpeg
- wget https://github.com/Itseez/opencv/archive/2.4.8.2.tar.gz
- tar xvf 2.4.8.2.tar.gz
- cd opencv-2.4.8.2
- mkdir release
- cd release
- cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
- make
- make install
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
install:
2014-06-14 09:03:50 +08:00
- sudo apt-get install libusb-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
- 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-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
- 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-.*$/