瀏覽代碼

Fix Travis build calls to staticcheck (#479)

Timothy Palpant 6 年之前
父節點
當前提交
4e22ea4a82
共有 1 個文件被更改,包括 1 次插入7 次删除
  1. 1
    7
      test.sh

+ 1
- 7
test.sh 查看文件

@@ -23,13 +23,7 @@ echo "mode: $MODE" > coverage.txt
23 23
 # All packages.
24 24
 PKG=$(go list ./...)
25 25
 
26
-staticcheck -ignore '
27
-github.com/google/pprof/internal/binutils/binutils_test.go:SA6004
28
-github.com/google/pprof/internal/driver/svg.go:SA6004
29
-github.com/google/pprof/internal/report/source_test.go:SA6004
30
-github.com/google/pprof/profile/filter_test.go:SA6004
31
-' $PKG
32
-unused $PKG
26
+staticcheck $PKG
33 27
 
34 28
 # Packages that have any tests.
35 29
 PKG=$(go list -f '{{if .TestGoFiles}} {{.ImportPath}} {{end}}' ./...)