35 lines
1.0 KiB
YAML
35 lines
1.0 KiB
YAML
language: go
|
|
sudo: true
|
|
go_import_path: gobot.io/x/gobot
|
|
go:
|
|
- 1.6
|
|
- 1.7
|
|
- 1.8rc3
|
|
- tip
|
|
matrix:
|
|
allow_failures:
|
|
- go: 1.6
|
|
- go: tip
|
|
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/gobot.io/x/gobot
|
|
- go get github.com/axw/gocov/gocov
|
|
- 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
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
branches:
|
|
except:
|
|
- gobot.io
|
|
- /^gobot-.*$/
|
|
secure: "HggklzWOwKqImvjQe1yvojCoTaUBDrOVXRjsrZaoTaKpUtmho1tpCMtKF1dbyT0T5Y68P6f9e/XyANWVeziJNZ+YmNkY+CNdNYHiNnpl8att3MuL4hpwKDPAqLK8H2G+71j3O/rBvf6oIJHtSEesR5Sbb+2fSmhNFtLrDgp5FZA="
|