Commit 01b78d2d authored by Steven Allen's avatar Steven Allen

ci: modernize

parent 0d9848d6
sudo: false
language: go
go:
- 1.9
install:
- go get github.com/whyrusleeping/gx
- go get github.com/whyrusleeping/gx-go
- 1.11.x
before_install:
- make deps
script:
- make test
- bash <(curl -s https://raw.githubusercontent.com/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh)
after_success:
- bash <(curl -s https://codecov.io/bash)
......@@ -18,4 +19,4 @@ cache:
- $GOPATH/src/gx
notifications:
email: false
email: false
all: deps
gx:
go get github.com/whyrusleeping/gx
go get github.com/whyrusleeping/gx-go
deps: gx
deps: gx
gx --verbose install --global
gx-go rewrite
test: deps
gx test -v -race -coverprofile=coverage.txt -covermode=atomic .
rw:
gx-go rewrite
rwundo:
gx-go rewrite --undo
publish: rwundo
gx publish
.PHONY: all gx deps test rw rwundo publish
publish:
gx-go rewrite --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