28 Commits

Author SHA1 Message Date
Aleksandr Razumov
231439c169 dev: use go1.14 2020-02-26 15:11:43 +03:00
Trevor Pounds
6436e9a757 Support Go 1.14rc1. 2020-02-08 15:05:17 -05:00
Trevor Pounds
c46c1b3224
Update to latest x/tools (#930)
* Update to latest x/tools (2020/01/19).

Fixes #893

* Initialize vet analyzers as unexportd global vars.

Fixes #915

* Support testing Go 1.14beta1.

* ci: reset go.mod and go.sum before generated diff check

* Update to latest x/tools (2020/02/04)

Co-authored-by: Aleksandr Razumov <ar@gortc.io>
2020-02-05 01:11:14 +03:00
Trevor Pounds
503f964882 Fix script release command.
Fixes failed Travis deploys since it only supports a single command.

see: https://github.com/travis-ci/dpl/issues/673
2019-12-29 23:03:00 -05:00
Trevor Pounds
df22674127 Update to Node.js v12.14.0 LTS. 2019-12-29 19:43:24 -05:00
Denis Isaev
8510e2477c
dev: trigger CI build on tag push 2019-09-23 23:06:40 +03:00
Trevor Pounds
49297189a1 Manage build tools via go.mod. 2019-09-23 21:30:20 +03:00
Trevor Pounds
0e0cd753d2 Update to valyala/quicktemplate v1.2.0 (#704)
* Update to valyala/quicktemplate v1.2.0.

* Cleanup out-of-band dep updates that bypass go.mod.
2019-09-16 19:51:29 +03:00
Trevor Pounds
2e8d83266f Update dependencies. (#684)
* Update deps.

* Update to Node.js v10.16.3 LTS.

* Fix mock logutils generation.
2019-09-12 16:02:43 +03:00
Denis Isaev
31afdf8b04
dev: build by go1.13 for release 2019-09-10 12:14:24 +03:00
Isaev Denis
6163a8a790
Support go1.13 (#670)
Setup Travis CI to run on go 1.12 and 1.13.
Update info about go versions in README.
Rebuild go.mod,go.sum on go1.13.
2019-09-09 21:54:56 +03:00
Duco van Amstel
0b49095bae Make generation of demo.svg deterministic (#625) 2019-09-09 17:37:06 +03:00
Denis Isaev
13c3082639
dev: speed up Travis CI: don't build pull requests twice 2019-09-09 15:06:08 +03:00
Denis Isaev
e39e8fb5d5 update x/tools
Significantly improve CPU and memory usage when not using SSA-powered linters.
Improve readability of go/packages errors.
Improve debugging capabilities and write doc about debugging.
2019-09-09 15:04:32 +03:00
Denis Isaev
d2b1eea2c6
bodyclose: fix race condition 2019-07-14 17:53:55 +03:00
Denis Isaev
6508d1623a fix #513: don't add gofmt "with -s" if not needed
Output
  File is not `gofmt`-ed
insted of
  File is not `gofmt`-ed  with `-s`
when gofmt.simplify == false
2019-06-09 16:22:41 +03:00
Luke Shumaker
9ce337296b Makefile: Set GO111MODULE=on for consistency, adjust tests accordingly 2019-06-05 00:52:23 -04:00
Denis Isaev
ed0b551070 Fix linting of preprocessed files
Preprocessed files like .qtpl.go quicktemplate Go files can have
//line directives. They map to a source .qtpl file.
This commit fixes linting of such files:
1. don't fail on AST cache loading
2. output Go filename not .qtpl or similar

Also, here we update golint to the upstream version.

Relates: #316, #466, #467, #468
2019-04-20 21:50:26 +03:00
Denis Isaev
be0679ee71 build on go 1.12 and fix go 1.11 compatibility 2019-03-05 21:34:53 +03:00
Evgeniy Kulikov
c55a62a8de Add Go1.12 to TravisCI 2019-03-04 09:49:05 +03:00
Denis Isaev
be0bd9e1df
dev: don't run test on go1.9: they are running too long 2018-09-02 14:36:23 +03:00
Denis Isaev
c37ad6652e
Fix #206: build golangci-lint on go1.11 2018-08-27 23:29:13 +03:00
Denis Isaev
d02ac2466e disable go1.11 in travis and make some small fixes for go1.11 2018-07-29 13:00:41 +03:00
Denis Isaev
99d04546ce
fix crashes on go1.11: build releases on go1.11 2018-07-28 23:48:17 +03:00
Denis Isaev
93311aee9b Fix #122: don't crash govet on tests-only packages 2018-06-19 16:32:36 +03:00
golangci
d4d2697f8a add svg demo 2018-06-02 14:10:34 +03:00
golangci
0e4282179f make releases 2018-05-29 11:18:47 +03:00
golangci
5c2e6e9f5a .travis.yml and don't use internal package 2018-05-13 19:20:42 +03:00