-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (22 loc) · 679 Bytes
/
.travis.yml
File metadata and controls
27 lines (22 loc) · 679 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
sudo: required
language: go
go:
- tip
notifications:
email: false
services:
- docker
before_install:
- docker pull apcera/gnatsd
- docker run -d -p 4222:4222 -p 8333:8333 apcera/gnatsd
- docker ps -a
install:
- go get github.com/nats-io/nats
- go get github.com/gogo/protobuf/proto
- go get github.com/golang/protobuf/proto
- go get github.com/gorilla/websocket
- go get github.com/satori/go.uuid
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
script:
go test -v -covermode=count -coverprofile=coverage.out && $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN