Skip to content

Commit

Permalink
Merge pull request #2 from libp2p/kevina/travisci
Browse files Browse the repository at this point in the history
Update Travis CI to use standard test script.
  • Loading branch information
Stebalien authored Dec 5, 2017
2 parents 063ce36 + 8091029 commit 709299b
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
sudo: false

language: go

go:
- 1.3
- 1.4
- release
- 1.9.x

install:
- make deps

script:
- go test -race -cpu=5 -v ./...
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)

cache:
directories:
- $GOPATH/src/gx

notifications:
email: false

env: GOTFLAGS="-race -cpu=5" GOVETCMD="go vet -methods=false"
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
gx:
go get github.com/whyrusleeping/gx
go get github.com/whyrusleeping/gx-go

deps: gx
gx --verbose install --global
gx-go rewrite

publish:
gx-go rewrite --undo

3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
coverage:
range: "50...100"
comment: off

0 comments on commit 709299b

Please sign in to comment.