Commit Graph

17 Commits

Author SHA1 Message Date
David Hill d8f796af33 travis: test against go 1.11 2018-08-30 15:11:38 -04:00
David Hill 8991bc29aa travis: test against go 1.10.x 2018-02-21 17:26:28 -06:00
Kevin Burke ecdeabc654 Add Go tip to coverage matrix
Also make this project compatible with running Travis CI on
forks - the go_import_path directive tells Travis to clone to
$GOPATH/src/github.com/davecgh/go-spew even if the remote user is
different.
2017-10-05 10:54:31 -05:00
David Hill a476722483 travis: test against go 1.9 2017-08-29 15:53:20 -04:00
David Hill adab96458c travis: test against 1.8.x 2017-07-11 14:34:51 -04:00
David Hill 9fadf46324 travis: Use gometalinter 2017-07-11 11:24:36 -05:00
Dave Collins 6d212800a4 Deprecate "disableunsafe" tag in favor of "safe".
This adds a new build tag named "safe" which serves the exact same
purpose as the current "disableunsafe" tag.  This is being done, as
recommended by @shurcooL, since it is emerging as the standard way to do
it in several high profile packages, it mirrors the "unsafe" package
nicely, it is shorter, and users generally seem to prefer it.

However, to avoid breaking existing infrastructure, the disableunsafe
tag is still available and simply is being deprecated.
2016-09-07 12:06:01 -05:00
David Hill 6cf5744a04 Update Travis to test multiple golang versions. 2016-08-16 12:40:47 -05:00
Dave Collins 2df174808e Add support for limited mode without unsafe pkg.
This commit adds support for compiling spew without the unsafe package.
When compiled without the unsafe package, some of the more advanced
features such as invoking stringers on pointers from non-pointer
variables and unexported struct fields are not available.

By default, spew will be compiled in the limited mode for Google App
Engine since the unsafe package is not available there.  Additionally,
spew can be compiled without the unsafe package manually by specifying
the "disableunsafe" build tag.

Finally, a new package-level constant named "UnsafeDisabled" has been
exposed which can be used to programmatically determine if spew was
compiled with access to the unsafe package.
2015-06-19 15:29:34 -05:00
Dave Collins 96dfb77570 Configure TravisCI to test with testcgo tag. 2014-03-27 05:26:53 -05:00
Dave Collins 55afdd1e0d Don't change to spew dir before invoking goveralls. 2014-03-27 05:13:54 -05:00
Dave Collins 053ad9b77a Correct TravisCI .yml file. 2014-03-27 05:08:45 -05:00
Dave Collins 2d30de540a Configure TravisCI goveralls call correctly.
By default goveralls tries to use gocov.  This modifies it to use the
cover profile provided by go test instead.
2014-03-27 05:05:19 -05:00
Dave Collins 8ae4f2591e Setup TravisCI to report cov stats to coveralls.io. 2014-03-27 04:58:48 -05:00
Dave Collins 110c37a4d1 Update TravisCI to use Go 1.2.
Also fix a comment typo in doc.go under the custom formatter section.
2014-03-27 04:46:40 -05:00
Dave Collins 4d8bf045f7 Require Go 1.1 for TravisCI. 2013-11-16 21:33:05 -06:00
Dave Collins 67dc83c7e5 Add TravisCI support. 2013-11-16 21:28:36 -06:00