diff --git a/.travis.yml b/.travis.yml index 19d1d80..9bde515 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,12 @@ language: go go: -- 1.7 -- 1.8 -- 1.9 -- tip +- "1.7" +- "1.8" +- "1.9" +- "1.10" +- "master" matrix: allow_failures: - - go: tip + - go: "master" script: go test -v -race -cpu=1,2,4 -bench . -benchmem ./... diff --git a/log/log_example_test.go b/log/log_example_test.go index 32f3699..16fed27 100644 --- a/log/log_example_test.go +++ b/log/log_example_test.go @@ -102,7 +102,7 @@ func ExampleFatal() { // This example uses command-line flags to demonstrate various outputs // depending on the chosen log level. -func Example_LevelFlag() { +func Example() { setup() debug := flag.Bool("debug", false, "sets log level to debug")