aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/tests.sh
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-02-14 01:37:33 +0800
committerchriseth <chris@ethereum.org>2017-04-25 22:47:43 +0800
commited32a57b860f11e902e0e7d7c7c5ba5b5bd685da (patch)
treefa8383e67794cd5b8f067119942956537e097775 /scripts/tests.sh
parent1caf1f0b8d4b84881a1fb9a2684b5978825b3e08 (diff)
downloaddexon-solidity-ed32a57b860f11e902e0e7d7c7c5ba5b5bd685da.tar.gz
dexon-solidity-ed32a57b860f11e902e0e7d7c7c5ba5b5bd685da.tar.zst
dexon-solidity-ed32a57b860f11e902e0e7d7c7c5ba5b5bd685da.zip
Run tests in docker only on Travis
Diffstat (limited to 'scripts/tests.sh')
-rwxr-xr-xscripts/tests.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh
index 34d71bd2..09bdc963 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -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"