Run the tests before building the server
This commit is contained in:
parent
a4f300d4b8
commit
5923b21dd6
10
.travis.yml
10
.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)
|
Loading…
Reference in New Issue
Block a user