Commit abf78b8f authored by Steven Allen's avatar Steven Allen

use standard CI script

parent 663634fb
os: os:
- linux - linux
- osx - osx
sudo: false
language: go language: go
go: go:
- 1.9.2 - 1.9.x
install: true install:
- make deps
script: script:
- make deps - bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
- gx-go rewrite
- go test -v -race -coverprofile=unittest.coverprofile -covermode=atomic .
after_success:
- bash <(curl -s https://codecov.io/bash) -f unittest.coverprofile -F unittest
cache: cache:
directories: directories:
- $GOPATH/src/gx - $GOPATH/src/gx
notifications:
email: false
env: GOTFLAGS="-race -cpu=5"
test: deps
go test -v
export IPFS_API ?= v04x.ipfs.io export IPFS_API ?= v04x.ipfs.io
gx: gx:
...@@ -10,10 +7,3 @@ gx: ...@@ -10,10 +7,3 @@ gx:
deps: gx deps: gx
gx --verbose install --global gx --verbose install --global
gx-go rewrite gx-go rewrite
go get -t ./...
rw:
gx-go rw
rwundo:
gx-go rw --undo
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment