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.
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.
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.
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.