mirror of
https://github.com/logos-messaging/go-multiaddr.git
synced 2026-01-07 15:33:08 +00:00
fix ci scripts
This commit is contained in:
parent
e29f2b150e
commit
fb7326f3f7
20
.travis.yml
20
.travis.yml
@ -1,8 +1,24 @@
|
|||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
|
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- tip
|
|
||||||
- 1.7
|
- 1.7
|
||||||
|
|
||||||
|
install: true
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- make deps
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test -race -cpu=5 -v ./...
|
- go vet
|
||||||
|
- $GOPATH/bin/goveralls -service="travis-ci"
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $GOPATH/src/gx
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
email: false
|
||||||
|
|||||||
15
Makefile
Normal file
15
Makefile
Normal file
@ -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
|
||||||
|
|
||||||
@ -17,7 +17,7 @@
|
|||||||
"language": "go",
|
"language": "go",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"name": "go-multiaddr",
|
"name": "go-multiaddr",
|
||||||
"releaseCmd": "git commit -a -m "gx publish $VERSION"",
|
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
|
||||||
"version": "1.1.2"
|
"version": "1.1.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user