Another attempt at correct Travis syntax for gnatsd -#3

Signed-off-by: Cale Hoopes <caledh@gmail.com>
This commit is contained in:
Cale Hoopes 2016-07-17 15:16:31 -07:00
parent 54952eee04
commit 904c803ecc
1 changed files with 7 additions and 5 deletions

View File

@ -16,14 +16,16 @@ 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 libgtk2.0-0
- go get github.com/nats-io/gnatsd
- cd $HOME/gopath/src/github.com/nats-io/gnatsd
- go build
- 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
- mkdir -p gnatsd
- cd gnatsd
- "wget https://github.com/nats-io/gnatsd/releases/download/v0.8.1/gnatsd-v0.8.1-linux-amd64.zip"
- unzip gnatsd-v0.8.1-linux-amd64.zip
- ./gnatsd -p 4222 &
- ./gnatsd -p 4223 --user test --pass testwd &
- cd $HOME/gopath/src/github.com/hybridgroup/gobot
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- 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:
- go get -d -v ./...