Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Commit

Permalink
Merge pull request #9 from libp2p/kevina/travisci
Browse files Browse the repository at this point in the history
Update Travis CI.
  • Loading branch information
Stebalien authored Dec 5, 2017
2 parents 75df996 + 29bac6d commit bb2f9de
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@ os:
- linux
- osx

sudo: false

language: go

go:
- 1.8

install: true
- 1.9.x

before_install:
install:
- make deps

script:
- go vet
- $GOPATH/bin/goveralls -service="travis-ci"
- bash <(curl -s https://github.com/raw/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)

cache:
directories:
Expand Down
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ 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
deps: gx
gx --verbose install --global
gx-go rewrite

Expand Down
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 bb2f9de

Please sign in to comment.