mirror of
https://github.com/libp2p/go-libp2p-peerstore.git
synced 2025-03-01 09:40:08 +08:00
Add Makefile and travis
This commit is contained in:
parent
5c9e1a5ccc
commit
d7b2c72754
25
.travis.yml
25
.travis.yml
@ -1,27 +1,12 @@
|
|||||||
os:
|
|
||||||
- linux
|
|
||||||
- osx
|
|
||||||
|
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.5.3
|
- 1.6.2
|
||||||
|
- release
|
||||||
before_install:
|
- tip
|
||||||
- go get github.com/mattn/goveralls
|
|
||||||
- go get golang.org/x/tools/cmd/cover
|
|
||||||
- go get github.com/whyrusleeping/gx
|
|
||||||
- go get github.com/whyrusleeping/gx-go
|
|
||||||
|
|
||||||
install:
|
|
||||||
- gx --verbose install --global
|
|
||||||
- gx-go rewrite
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- $HOME/gopath/bin/goveralls -service="travis-ci"
|
- make test
|
||||||
|
|
||||||
cache:
|
env: TEST_NO_FUSE=1 TEST_VERBOSE=1
|
||||||
directories:
|
|
||||||
- $GOPATH/src/gx
|
|
||||||
|
Loading…
Reference in New Issue
Block a user