Merge pull request #2 from ipfs/add-travis

add .travis.yml
This commit is contained in:
Jeromy Johnson 2016-04-18 16:49:33 -07:00
commit d8b315622f

27
.travis.yml Normal file
View File

@ -0,0 +1,27 @@
os:
- linux
- osx
language: go
sudo: false
go:
- 1.5.3
before_install:
- 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:
- $HOME/gopath/bin/goveralls -service="travis-ci"
cache:
directories:
- $GOPATH/src/gx