Skip to content

Commit

Permalink
Run tests in docker only on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
axic authored and chriseth committed Apr 25, 2017
1 parent 1caf1f0 commit ed32a57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ test "${output//[[:blank:]]/}" = "3"
# instead. This will go away soon.
if [[ "$OSTYPE" == "darwin"* ]]; then
ETH_PATH="$REPO_ROOT/eth"
else if [ -z $CI ]; then
ETH_PATH="eth"
else
mkdir -p /tmp/test
ETH_PATH="docker run --rm -v /tmp/test:/tmp/test -e HOME=/tmp/test/ --user $(id -u):$(id -g) ethereum/client-cpp"
Expand Down

0 comments on commit ed32a57

Please sign in to comment.