From 817ee39f62684d42fa957bdbca978a3fdb89c145 Mon Sep 17 00:00:00 2001 From: Sean DuBois Date: Tue, 19 Mar 2019 22:15:21 -0700 Subject: [PATCH] Run golangci-lint on examples Resolves #531 and Resolves #470 --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) 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 .