Skip to content

Commit

Permalink
Merge pull request #8 from Puneetha17/master
Browse files Browse the repository at this point in the history
Updated .travis.yml file to use travis CI
  • Loading branch information
conor10 committed May 29, 2018
2 parents ba048a4 + 72c9a56 commit 07ceb14
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,21 @@ go:
- "1.10.x"
- tip

env:
REPO_NAME: github.com/blk-io/crux

before_install:
- go get -t -v ./...
- sudo apt-get update -qq && sudo apt-get install -y -qq libdb-dev libpthread-stubs0-dev # This is hopefully temporary until we completely remove BerkeleyDB.
- mkdir -p $GOPATH/src/$(dirname $REPO_NAME)
- ln -svf $TRAVIS_BUILD_DIR $GOPATH/src/$REPO_NAME
- cd $GOPATH/src/$REPO_NAME
- go get ./...
- make setup

script:
- go test -race -coverprofile=coverage.txt -covermode=atomic
- make build
- make test
- make cover

after_success:
- bash <(curl -s https://codecov.io/bash)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Crux

<a href="https://quorumslack.azurewebsites.net" target="_blank" rel="noopener"><img title="Quorum Slack" src="https://quorumslack.azurewebsites.net/badge.svg" alt="Quorum Slack" /></a>
<a href="https://travis-ci.org/blk-io/crux/"><img title="Build Status" src="https://travis-ci.org/blk-io/crux.svg?branch=master" alt="Build Status" /></a>

Data privacy for Quorum.

Expand Down
2 changes: 1 addition & 1 deletion enclave/enclave.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ func (s *SecureEnclave) RetrieveFor(digestHash *[]byte, reqRecipient *[]byte) (*
return &encoded, nil
}
}
return nil, fmt.Errorf("invalid recipient %q requested for payload", reqRecipient)
return nil, fmt.Errorf("invalid recipient %x requested for payload", reqRecipient)
}

// RetrieveAllFor retrieves all payloads that the specified recipient was an original recipient
Expand Down

0 comments on commit 07ceb14

Please sign in to comment.