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 Apr 24, 2017
1 parent 2ea805c commit 10f2652
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 @@ -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

0 comments on commit 10f2652

Please sign in to comment.