cb7a624434
build:add codecov.yml ( #9618 )
2019-03-08 23:28:19 +08:00
b00c2073bf
build:fix git describe ( #9611 )
2019-03-08 11:09:30 +08:00
76e1e58511
build: add check-static in test ( #9572 )
2019-03-07 15:56:15 +08:00
89532cd9dd
*: update errcheck ( #9048 )
2019-01-14 19:17:23 +08:00
4b98ad6f29
*: integrate plugin framework with TiDB ( #9006 )
2019-01-14 16:53:41 +08:00
9b02455874
Makefile: build gofail to tools/bin ( #8952 )
2019-01-07 19:20:08 +08:00
6a9ad3fe25
travis: enable code coverage test using codecov ( #8910 )
2019-01-03 23:08:06 +08:00
3040788655
*: make errcheck work again ( #8795 )
2018-12-25 17:16:52 +08:00
0021af671f
*: remove retool from Makefile ( #8769 )
2018-12-24 20:28:45 +08:00
44f2c2c381
Makefile: make 'make check' faster ( #8755 )
...
* remove vet check
* make lint check on $(FILES)
2018-12-21 11:12:18 +08:00
9c087d13ee
*: replace github.com/etcd-io/gofail with the forked one ( #8693 )
...
With the adoption of Go module, GOPATH is not need any more
But github.com/etcd-io/gofail doesn't support packages outside the GOPATH
To overcome the drawback, this commit replace it with our forked one
2018-12-19 11:30:48 +08:00
5cf535329d
Makefile: move 'go mod tidy' check to makefile ( #8690 )
2018-12-14 15:09:03 +08:00
50cb733565
tikv: accelerate tikv package testcase ( #8562 )
2018-12-06 15:31:46 +08:00
6a999a72f6
tidb: rm parser in make clean ( #8249 )
2018-11-09 19:25:02 +08:00
8e5f4b1244
*: update logrus and parser package, tiny clean up ( #8158 )
2018-11-05 15:39:51 +08:00
8ed433036b
planner: refine PhysicalProjection.ResolveIndices during neighbouring Proj ( #8073 )
2018-11-02 13:42:12 +08:00
b7f431e5c3
*: migrate dependency management to Go1.11 module ( #8054 )
2018-11-01 20:54:22 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
69d5e36ac4
*: bump go version to 1.11 ( #7491 )
2018-08-29 21:48:50 +08:00
6d0bcf50ac
makefile: add WITH_CHECK os env to make and tidb-server -V print out admin check status. ( #7439 )
2018-08-20 23:09:00 +08:00
5404e2eaae
ddl: add admin check before drop table using building flag. ( #7343 )
2018-08-14 21:44:57 +08:00
b449589a7b
Makefile: fix gofail go get repo path ( #7341 )
2018-08-09 22:27:48 +08:00
016b92d576
add timeout for make race ( #7283 )
2018-08-07 10:46:47 +08:00
0f4aba1942
Switch checks to use retool. Fix goword and errcheck ( #7240 )
...
* use retool for linters
Also fix goword and errcheck which were not being run correctly.
These are now under the check-fail task.
* fix goword wants proper package comments
* grammar
* tools: move into the hack/ folder
2018-08-02 21:20:27 +08:00
25f1e808f5
Use the revive linter. ( #7197 )
2018-07-31 13:19:09 +08:00
1a7e9ecf52
Makefile: update coverage ignore list ( #6651 )
2018-05-26 21:27:48 +08:00
d53e7d6873
Makefile: fix 'errcheck' after github.com/kisielk/errcheck is updated ( #6574 )
2018-05-18 13:01:58 +08:00
0b1b523a81
*:move explain_test to tidb repository ( #6555 )
2018-05-17 23:55:15 +08:00
090f7e5e22
Makefile: use go get golint again ( #6371 )
2018-04-25 10:46:47 +08:00
39efce670c
fix fetch issue of golint ( #6363 )
2018-04-24 18:56:47 +08:00
b7e91b432c
Makefile: add golint back ( #6351 )
2018-04-23 22:19:35 +08:00
f80484fe3f
Makefile: disable golint ( #6348 )
...
golint is broken.
https://github.com/golang/lint/issues/396
2018-04-23 20:56:51 +08:00
1518319517
Makefile: split make check into multiple targets ( #6253 )
...
Makes it convenient when we only need to check one of the targets.
2018-04-11 20:37:19 +08:00
f287451eed
tidb: move tidb/*.go to session directory ( #6062 )
...
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00
5807feaf5b
makefile,store/tikv: allow golint check context.Context in 'make check' ( #5898 )
2018-02-24 19:38:28 +08:00
807dc791d4
cmd: add importer tool. ( #5695 )
2018-01-22 18:48:18 +08:00
ea099f281b
*: Add go version in tidb version info ( #5636 )
2018-01-14 19:48:52 +08:00
136462d76a
use dep instead of glide ( #5558 )
2018-01-08 11:00:06 +08:00
cefe18f3cf
makefile: fix coverage ci. ( #5450 )
2017-12-20 14:09:06 +08:00
54f019570c
*: enable gofail for make dev. ( #5325 )
...
* *: update go-check
* *: enable gofail for make dev.
2017-12-06 19:51:57 +08:00
22f835fc52
fix gofail. ( #5294 )
2017-12-04 11:55:29 +08:00
6c68e41f73
store/tikv: use go fail for some tests. ( #5280 )
...
* store/tikv: use go fail for some tests.
2017-12-01 08:20:30 -08:00
c5efd20e81
Makefile: use git describe to assign TiDBReleaseVersion. ( #4947 )
2017-10-30 05:40:24 -05:00
e80e4c6137
Makefile: remove target 'benchkv' and 'build' from 'make dev' ( #4905 )
2017-10-26 14:19:45 +08:00
c089d3e37b
makefile: Makefile add buildflag ( #4836 )
2017-10-19 21:54:05 -05:00
9c2ea17722
*: enforce errcheck in Makefile ( #4724 )
...
checks all errors and enable errcheck in Makefile
Fixes https://github.com/pingcap/tidb/issues/4668
2017-10-09 17:16:10 +08:00
eb8df3519a
*: prepare to enforce errcheck, part1 ( #4670 )
2017-09-30 16:23:37 +08:00
c92b124aa9
*: make test leak great again ( #4543 )
2017-09-20 17:07:32 +08:00
dee3a5cb8c
Makefile: do not generate ignored error message in parser.go. ( #4560 )
...
* Makefile: do not generate ignored error message in parser.go.
We ignore the generate error message in code, so there is no need to generate them.
Shrink the size of `parser.go` to 1/3.
2017-09-19 14:11:20 +08:00
51d80e1026
Makefile: limit test concurrency. ( #4535 )
...
The test runs multiple process to test all packages, and each process takes up to 700M memory,
The CI VM make OOM if we don't limit the test concurrency.
2017-09-15 15:26:21 +08:00