From 5923b21dd65dfbe21c11d148758f6dded439f4ba Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 25 Apr 2019 19:45:46 +0900 Subject: [PATCH] Run the tests before building the server --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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