1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-11 19:29:20 +08:00
hybridgroup.gobot/.travis.yml
deadprogram 50cacd5745 nats: refactor and skip tests that require actual server connection
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-03 13:18:10 +01:00

34 lines
832 B
YAML

language: go
sudo: true
go:
- 1.4
- 1.5
- 1.6
- 1.7
- tip
matrix:
allow_failures:
- go: tip
- go: 1.4
- go: 1.5
before_install:
- sudo add-apt-repository -y ppa:kubuntu-ppa/backports
- sudo add-apt-repository -y ppa:zoogie/sdl2-snapshots
- sudo apt-get update
- sudo apt-get install --force-yes libcv-dev libcvaux-dev libhighgui-dev libopencv-dev libsdl2-dev libsdl2-image-dev libsdl2 libusb-dev xvfb unzip libgtk2.0-0
- cd $HOME/gopath/src/github.com/hybridgroup/gobot
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
install:
- make deps
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- ./ci/travis.sh
branches:
except:
- gobot.io
- /^gobot-.*$/