OLD | NEW |
1 # https://github.com/maruel/pre-commit-go configuration file to run checks | 1 # https://github.com/maruel/pre-commit-go configuration file to run checks |
2 # automatically on commit, on push and on continuous integration service after | 2 # automatically on commit, on push and on continuous integration service after |
3 # a push or on merge of a pull request. | 3 # a push or on merge of a pull request. |
4 # | 4 # |
5 # See https://godoc.org/github.com/maruel/pre-commit-go/checks for more | 5 # See https://godoc.org/github.com/maruel/pre-commit-go/checks for more |
6 # information. | 6 # information. |
7 | 7 |
8 coverage_settings: &COVERAGE_SETTINGS | 8 coverage_settings: &COVERAGE_SETTINGS |
9 use_global_inference: false | 9 use_global_inference: false |
10 use_coveralls: false | 10 use_coveralls: false |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 pre-push: | 58 pre-push: |
59 checks: | 59 checks: |
60 coverage: | 60 coverage: |
61 - <<: *COVERAGE_SETTINGS | 61 - <<: *COVERAGE_SETTINGS |
62 goimports: | 62 goimports: |
63 - {} | 63 - {} |
64 test: | 64 test: |
65 - extra_args: | 65 - extra_args: |
66 - -v | 66 - -v |
67 - -race | 67 - -race |
68 max_duration: 20 | 68 max_duration: 120 |
69 | 69 |
70 ignore_patterns: | 70 ignore_patterns: |
71 - .* | 71 - .* |
72 - _* | 72 - _* |
73 - '*.pb.go' | 73 - '*.pb.go' |
74 - '*_string.go' | 74 - '*_string.go' |
OLD | NEW |