-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: prep repo for automation (#84)
- Loading branch information
1 parent
19dcc8e
commit 8b8cd47
Showing
4 changed files
with
12 additions
and
19 deletions.
There are no files selected for viewing
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,24 +1,8 @@ | ||
language: go | ||
go: | ||
- 1.6 | ||
- 1.7 | ||
- 1.8 | ||
- 1.9 | ||
- tip | ||
before_script: | ||
- go get -u github.com/alecthomas/gometalinter | ||
- gometalinter --install | ||
script: | ||
- diff -u <(echo -n) <(gofmt -d -s .) | ||
- gometalinter --disable=golint ./... | ||
- go test -cover -bench=. -v -race ./... | ||
notifications: | ||
hipchat: | ||
rooms: | ||
secure: Tk19TNeLNQKRCGC5NKFEqCQTJsEJNrfZ56iuiA5iavIYVoTsX6Pi9VxvzYOeXNNuuHEF9yC3bnv9+yjNaBps7S+T/EiT1F7Qx4BIVgmETK+qg82XmFz5p8lWn7GmSZVWu2kBVlVMbtEdsYPbR19v1LvzSw2U9SO7j7CssWVyAmY= | ||
template: | ||
- '<a href="https://travis-ci.org/%{repository}/builds/%{build_id}">%{repository} | ||
Build %{build_number}</a> on branch <i>%{branch}</i> by %{author}: <strong>%{message}</strong> | ||
<a href="https://github.com/%{repository}/commits/%{commit}">View on GitHub</a>' | ||
format: html | ||
|
||
- make test |
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
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.PHONY: test install | ||
|
||
install: | ||
go get -t -v ./... | ||
|
||
test: install | ||
diff -u <(echo -n) <(gofmt -d -s .) | ||
go test -cover -bench=. -v -race ./... |