diff --git a/.travis.yml b/.travis.yml index c8f9aeeeb72..a6b032dce05 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,6 +33,8 @@ before_script: script: - golangci-lint run ./... + - cd examples && golangci-lint run ./... + - cd .. - rm -rf examples # Remove examples, no test coverage for them - go test -coverpkg=$(go list ./... | tr '\n' ',') -coverprofile=cover.out -v -race -covermode=atomic ./... - GOOS=js GOARCH=wasm go test -exec="./test-wasm/go_js_wasm_exec" -v .