diff options
| author | Dave Collins <[email protected]> | 2016-09-07 11:21:46 -0500 |
|---|---|---|
| committer | Dave Collins <[email protected]> | 2016-09-07 12:06:01 -0500 |
| commit | 6d212800a42e8ab5c146b8ace3490ee17e5225f9 (patch) | |
| tree | 3f9e66d47d26d217cf8fc1c72ff093a582c342dc /.travis.yml | |
| parent | 66f99a29a08158b999b0dc2e7ccacf1131d4e0b4 (diff) | |
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.
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 0bf43fc..984e073 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ go: install: - go get -v golang.org/x/tools/cmd/cover script: - - go test -v -tags=disableunsafe ./spew + - go test -v -tags=safe ./spew - go test -v -tags=testcgo ./spew -covermode=count -coverprofile=profile.cov after_success: - go get -v github.com/mattn/goveralls |
