mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Run tests in docker only on Travis
This commit is contained in:
parent
1caf1f0b8d
commit
ed32a57b86
@ -42,6 +42,8 @@ test "${output//[[:blank:]]/}" = "3"
|
|||||||
# instead. This will go away soon.
|
# instead. This will go away soon.
|
||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
ETH_PATH="$REPO_ROOT/eth"
|
ETH_PATH="$REPO_ROOT/eth"
|
||||||
|
else if [ -z $CI ]; then
|
||||||
|
ETH_PATH="eth"
|
||||||
else
|
else
|
||||||
mkdir -p /tmp/test
|
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"
|
ETH_PATH="docker run --rm -v /tmp/test:/tmp/test -e HOME=/tmp/test/ --user $(id -u):$(id -g) ethereum/client-cpp"
|
||||||
|
Loading…
Reference in New Issue
Block a user