-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
59e597e
commit 20e0b13
Showing
6 changed files
with
12 additions
and
35 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
language: go | ||
go: | ||
- 1.3 | ||
- 1.4 | ||
|
||
install: | ||
- DST=~/gopath/src/github.com/apcera | ||
- DST=~/gopath/src/github.com/nats-io | ||
- mkdir -p "$DST" | ||
- git clone --depth=1 --quiet https://github.com/apcera/gnatsd.git "$DST"/gnatsd | ||
- go get code.google.com/p/go.tools/cmd/vet | ||
- git clone --depth=1 --quiet https://github.com/nats-io/gnatsd.git "$DST"/gnatsd | ||
- go get golang.org/x/tools/cmd/vet | ||
- go get golang.org/x/tools/cmd/cover | ||
- go get github.com/mattn/goveralls | ||
|
||
script: | ||
- go get -d -v ./... | ||
- go build -v ./... | ||
- go fmt ./... | ||
- go vet ./... | ||
- go test -i -race ./... | ||
- go test -v -race ./... | ||
- GOMAXPROCS=1 go test -v -race ./... | ||
- GOMAXPROCS=1 go test -v -covermode=count -coverprofile=coverage.out | ||
- $HOME/gopath/bin/goveralls -coverprofile coverage.out -service travis-ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters