diff --git a/.travis.yml b/.travis.yml index 9546817..e08d89d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,27 +1,8 @@ sudo: false - language: go go: - - 1.8.x - - 1.9.x - - 1.10.x - - 1.11.x - - tip - -os: - - linux - -matrix: - fast_finish: true - allow_failures: - - go: tip - -before_install: - - go get -v github.com/stretchr/testify - -script: - - go test -v ./... + - 1.x notifications: email: false diff --git a/README.md b/README.md index 8c6c101..032f640 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ a Go package to interact with arbitrary JSON -[![Build Status](https://secure.travis-ci.org/bitly/go-simplejson.png)](http://travis-ci.org/bitly/go-simplejson) +[![Build Status](https://secure.travis-ci.org/bitly/go-simplejson.png?branch=master)](http://travis-ci.org/bitly/go-simplejson) [![GoDoc](https://godoc.org/github.com/bitly/go-simplejson?status.svg)](https://godoc.org/github.com/bitly/go-simplejson) [![GitHub release](https://img.shields.io/github/release/bitly/go-simplejson.svg)](https://github.com/bitly/go-simplejson/releases/latest) + ### Importing diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..15a43ed --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/bitly/go-simplejson + +go 1.13 + +require github.com/stretchr/testify v1.4.0 diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..e863f51 --- /dev/null +++ b/go.sum @@ -0,0 +1,10 @@ +github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/simplejson.go b/simplejson.go index 95e73fd..581b45d 100644 --- a/simplejson.go +++ b/simplejson.go @@ -8,7 +8,7 @@ import ( // returns the current implementation version func Version() string { - return "0.5.0" + return "0.5.1" } type Json struct {