Another attempt at correct Travis syntax for gnatsd

Signed-off-by: Cale Hoopes <caledh@gmail.com>
This commit is contained in:
Cale Hoopes 2016-07-17 14:51:17 -07:00
parent cca8b5624b
commit 118996c746
1 changed files with 5 additions and 5 deletions

View File

@ -19,11 +19,11 @@ before_install:
- 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 - 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/axw/gocov/gocov - go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls - go get github.com/mattn/goveralls
- mkdir -p gnatsd - go get github.com/nats-io/gnats
- "wget https://github.com/nats-io/gnatsd/releases/download/v0.8.1/gnatsd-v0.8.1-linux-amd64.zip -qO - | tar -zxvC gnatsd/" - cd $HOME/gopath/src/github.com/nats-io/gnatsd
- export PATH=$PATH:$PWD/gnatsd/ - go build
- gnatsd -p 4222 & - ./gnatsd -p 4222 &
- gnatsd -p 4223 --user test --pass testwd & - ./gnatsd -p 4223 --user test --pass testwd &
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
install: install:
- go get -d -v ./... - go get -d -v ./...