From 869df9201997fd62e3532e766d2c6f88ad511d31 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 c8f9aeeeb7..a6b032dce0 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 .