Skip to content

Commit

Permalink
Added sharness tests of cli tool
Browse files Browse the repository at this point in the history
Pulling from the multihash sharness repository to run tests of the cli tool.
Forgot cache dir
  • Loading branch information
tabrath committed Mar 16, 2017
1 parent 54d61d0 commit 569f937
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ deps: gx
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

0 comments on commit 569f937

Please sign in to comment.