From 8e94c567151cf3293603c33d1555e4ff4349609c Mon Sep 17 00:00:00 2001 From: Jeromy Date: Tue, 4 Oct 2016 16:52:57 -0700 Subject: [PATCH 1/3] update multihash --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1bdecf6..a007ab3 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ }, "gxDependencies": [ { - "hash": "QmTvWHtHQhkRD33UNzP3NKsUxX2k2oonrgHXYis7wdhCbA", + "hash": "QmYDds3421prZgqKbLpEK7T9Aa2eVdQ7o3YarX1LVLdP2J", "name": "go-multihash", - "version": "0.1.0" + "version": "1.0.0" } ], "gxVersion": "0.9.0", @@ -20,3 +20,4 @@ "releaseCmd": "git commit -a -m 'gx publish $VERSION'", "version": "1.1.1" } + From e29f2b150ee51dd33b37459e937e1cad7a8c0332 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Tue, 4 Oct 2016 16:53:40 -0700 Subject: [PATCH 2/3] gx publish 1.1.2 --- .gx/lastpubver | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gx/lastpubver b/.gx/lastpubver index 92e223c..45f0c1f 100644 --- a/.gx/lastpubver +++ b/.gx/lastpubver @@ -1 +1 @@ -1.1.1: QmTKShqzu4Sr5trPY8KN7DihwFMaPMX78RZbrSZ8M3rSf9 +1.1.2: QmUAQaWbKxGCUTuoQVvvicbQNZ9APF5pDGWyAZSe93AtKH diff --git a/package.json b/package.json index a007ab3..f071b2f 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "language": "go", "license": "MIT", "name": "go-multiaddr", - "releaseCmd": "git commit -a -m 'gx publish $VERSION'", - "version": "1.1.1" + "releaseCmd": "git commit -a -m "gx publish $VERSION"", + "version": "1.1.2" } From fb7326f3f724c2e90fdb1676698ad7117fbb8753 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Tue, 4 Oct 2016 16:56:56 -0700 Subject: [PATCH 3/3] fix ci scripts --- .travis.yml | 22 +++++++++++++++++++--- Makefile | 15 +++++++++++++++ package.json | 2 +- 3 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 Makefile diff --git a/.travis.yml b/.travis.yml index a2dcd64..73a4b6f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,24 @@ +os: + - linux + - osx + language: go go: - - tip - - 1.7 + - 1.7 + +install: true + +before_install: + - make deps script: - - go test -race -cpu=5 -v ./... + - go vet + - $GOPATH/bin/goveralls -service="travis-ci" + +cache: + directories: + - $GOPATH/src/gx + +notifications: + email: false diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7811c09 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +gx: + go get github.com/whyrusleeping/gx + go get github.com/whyrusleeping/gx-go + +covertools: + go get github.com/mattn/goveralls + go get golang.org/x/tools/cmd/cover + +deps: gx covertools + gx --verbose install --global + gx-go rewrite + +publish: + gx-go rewrite --undo + diff --git a/package.json b/package.json index f071b2f..19276e7 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "language": "go", "license": "MIT", "name": "go-multiaddr", - "releaseCmd": "git commit -a -m "gx publish $VERSION"", + "releaseCmd": "git commit -a -m \"gx publish $VERSION\"", "version": "1.1.2" }