diff --git a/.travis.yml b/.travis.yml index 12c9db2..3e5d47d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ before_install: script: - go vet - go test -race -coverprofile=coverage.txt -covermode=atomic + - make sharness after_success: - bash <(curl -s https://codecov.io/bash) diff --git a/Makefile b/Makefile index 7811c09..88520fe 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,11 @@ deps: gx covertools gx --verbose install --global gx-go rewrite +sharness: deps + git clone https://github.com/multiformats/multihash.git $(PWD)/sharness + cd $(PWD)/multihash && go build -v . && ls && chmod +x ./multihash + export MULTIHASH_BIN="$(PWD)/multihash/multihash" && export TEST_EXPENSE=1 && make -j1 -C $(PWD)/sharness/tests/sharness + publish: gx-go rewrite --undo