Unverified Commit d44abda8 authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #43 from ipfs/ci/std-script

use standard CI script
parents 663634fb abf78b8f
......@@ -2,22 +2,24 @@ os:
- linux
- osx
sudo: false
language: go
go:
- 1.9.2
install: true
- 1.9.x
script:
install:
- make deps
- 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
script:
- 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"
test: deps
go test -v
export IPFS_API ?= v04x.ipfs.io
gx:
......@@ -10,10 +7,3 @@ gx:
deps: gx
gx --verbose install --global
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