diff --git a/.travis.yml b/.travis.yml index ea8c2781..cb50e574 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,13 +45,13 @@ script: - tsc # Compile scripts - pack # Pack assets - revive ./... # Linter + - go vet ./... # go vet is the official Go static analyzer + - gocyclo -over 19 ./ # forbid code with huge functions +# - go test -v -race ./... # Run all the tests with the race detector enabled +# - codecoroner -ignore components funcs ./... # dead code analysis + - staticcheck -checks all,-ST1000,-ST1005 ./... # static analysis - make server bots jobs patches # Build - go test -v . # Run all the tests -# - go test -v -race ./... # Run all the tests with the race detector enabled - - go vet ./... # go vet is the official Go static analyzer - - staticcheck -checks all,-ST1000,-ST1005 ./... # static analysis - - gocyclo -over 19 ./ # forbid code with huge functions -# - codecoroner -ignore components funcs ./... # dead code analysis after_success: - bash <(curl -s https://codecov.io/bash) \ No newline at end of file