forked from google/mtail
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into log-watcher-coverage
- Loading branch information
Showing
22 changed files
with
486 additions
and
309 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 |
---|---|---|
|
@@ -14,3 +14,5 @@ emgen/emgen | |
foo.log | ||
/watcher/watcher.test | ||
/vm/vm.test | ||
/coverage.html | ||
*.coverprofile |
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,37 @@ | ||
language: go | ||
|
||
# Must generate the parser before installing deps or go get will error out on | ||
# undefined lexer tokens. | ||
before_install: | ||
- make vm/parser.go | ||
|
||
# Default dependency installation command, which is disabled when Makefile | ||
# detected. Also install three tools for measuring coverage and sending to | ||
# coveralls.io. | ||
install: | ||
- go get -t ./... | ||
- go get golang.org/x/tools/cmd/cover | ||
- go get github.com/modocache/gover | ||
- go get github.com/mattn/goveralls | ||
|
||
# Run all tests, under race detector. | ||
script: make testrace | ||
|
||
# If the full suite passes, run again to collect coverage, merge all of the | ||
# packages reports, and send to coveralls.io. | ||
after_success: | ||
- make coverage | ||
- goveralls -coverprofile=gover.coverprofile -service=travis-ci | ||
|
||
# Run tests at these Go versions. | ||
go: | ||
- tip | ||
- 1.4 | ||
|
||
# Allow tip to fail, and only wait for 1.4 to succeed before reporting build | ||
# status. | ||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- go: tip | ||
|
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
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
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
Oops, something went wrong.