diff options
| -rw-r--r-- | .travis.yml | 3 | ||||
| -rw-r--r-- | Makefile | 6 | ||||
| -rw-r--r-- | README.md | 6 |
3 files changed, 14 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index ee01dabf8..f3a9aeda8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,9 @@ script: - make install_prerequisites - make presubmit +after_success: + - bash <(curl -s https://codecov.io/bash) + # If the build fails because some code in not formatted, it's nice to see the diffs after formatting. after_failure: - git diff --name-only @@ -302,8 +302,14 @@ presubmit: presubmit_parallel: test test_race arch check_links test: +ifeq ("$(TRAVIS)$(shell go version | grep 1.9)", "") # Executor tests use cgo. env CGO_ENABLED=1 $(GO) test -short ./... +else + # Collect coverage report for codecov.io when running on travis (uploaded in .travis.yml). + # Note: Go 1.9 does not support -coverprofile when testing multiple packages. + env CGO_ENABLED=1 $(GO) test -short -coverprofile=coverage.txt ./... +endif test_race: $(GO) test -race; if test $$? -ne 2; then \ @@ -1,6 +1,10 @@ # syzkaller - kernel fuzzer -[](https://travis-ci.org/google/syzkaller) [](https://goreportcard.com/report/github.com/google/syzkaller) [](LICENSE) +[](https://travis-ci.org/google/syzkaller) +[](https://goreportcard.com/report/github.com/google/syzkaller) +[](https://codecov.io/gh/google/syzkaller) +[](https://godoc.org/github.com/google/syzkaller) +[](LICENSE) `syzkaller` is an unsupervised coverage-guided kernel fuzzer. `Linux` kernel fuzzing has the most support, `akaros`, `freebsd`, `fuchsia`, `netbsd`, `windows` and `gvisor` are supported to varying degrees. |
