1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-26 13:48:49 +08:00
hybridgroup.gobot/.travis.yml

33 lines
836 B
YAML
Raw Normal View History

2013-12-02 18:08:55 -08:00
language: go
2015-07-15 13:00:01 -07:00
sudo: true
go_import_path: gobot.io/x/gobot
2013-12-02 18:08:55 -08:00
go:
- 1.6
- 1.7
- 1.8rc3
2013-12-02 18:08:55 -08:00
- tip
2015-07-15 13:00:01 -07:00
matrix:
allow_failures:
- go: 1.6
- go: tip
2014-06-13 18:03:50 -07:00
before_install:
2014-06-13 18:44:18 -07:00
- sudo add-apt-repository -y ppa:kubuntu-ppa/backports
- sudo add-apt-repository -y ppa:zoogie/sdl2-snapshots
2014-06-13 18:15:55 -07:00
- 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/gobot.io/x/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
2014-07-23 17:00:41 -07:00
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
2013-12-02 18:08:55 -08:00
script:
- ./ci/travis.sh
2014-01-20 23:22:41 -08:00
branches:
except:
- gobot.io
2014-04-17 11:20:49 -07:00
- /^gobot-.*$/