Commit Graph

13 Commits

Author SHA1 Message Date
David Hill
a261760b9b travis: test in docker container 2018-02-18 10:27:18 -06:00
David Hill
3a78a1086d travis: drop docker 2018-02-16 22:06:22 -06:00
Dave Collins
6fcd077696
stake: Override false positive vet error.
This adds a directive to instruct gometalinter to ignore a false
positive produced by vet.  The code in question intentionally makes use
of the property vet is warning about.
2018-01-06 19:23:23 -06:00
David Hill
b13f5dfbda travis: add ineffassign linter 2017-12-01 09:14:04 -05:00
David Hill
20686cd775 travis: add gosimple linter 2017-11-20 18:49:55 -06:00
David Hill
7b9c4fa09c tests: make lockfile test work locally (#894) 2017-10-12 15:24:04 -04:00
David Hill
f1ca8cbd48 travis: test Gopkg.lock (#889) 2017-10-11 18:45:23 -04:00
David Hill
81e3f0983d gometalinter: run on subpkgs too (#878) 2017-10-10 17:20:40 -04:00
David Hill
343df217cb Drop glide, use dep.
This updates the third-party deps as well.
2017-10-09 17:49:38 -04:00
Jason Zavaglia
e6c2a627e8 Ensure run_tests.sh local fails correctly when gometalinter errors.
Errors from gemetalinter are inadertently suppressed in this code,
this commit fixes this.

run_tests.sh also automatically installs gometalinter, as a convenience
to the developer so as to reduce manual setup steps.
2017-09-10 22:41:19 +10:00
David Hill
624d2d31ee Test against Go 1.9 and drop 1.7. (#836) 2017-08-28 16:40:37 -04:00
Dave Collins
ad21578d2f
rpctest: Gate rpctest-based behind a build tag.
Contains upstream commits:
- 99165eb558
  - This is a NOOP since it was already done in Decred when porting the
    rpctest framework
- 754c4fbe0c

The merge commit also ports the necessary changes to run the tests in
the new Decred build setup.
2017-07-26 12:43:26 -05:00
John C. Vernaleo
9987b02983 Run testing and linting in a Dockerfile.
This simplifies the use of travis significantly and should speed
things up as parts of the setup are now done once when the docker
image is created.

Tests may be run locally (no docker) by using the 'local' arg to
run_tests.sh.
2017-05-30 11:39:19 -04:00