Commit Graph

10 Commits

Author SHA1 Message Date
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