Skip to content

Commit

Permalink
add travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Aug 25, 2016
1 parent f5fcc05 commit bf299da
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
os:
- linux
- osx

language: go

go:
- 1.7

install: true

script:
- make deps
- gx-go rewrite
- go get github.com/mattn/goveralls
- goveralls -service=travis-ci

cache:
directories:
- $GOPATH/src/gx
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
test: deps
go test -v

export IPFS_API ?= v04x.ipfs.io

gx:
go get -u github.com/whyrusleeping/gx
go get -u github.com/whyrusleeping/gx-go

deps: gx
gx --verbose install --global
gx-go rewrite
go get -t ./...

0 comments on commit bf299da

Please sign in to comment.