diff options
-rw-r--r-- | .travis.yml | 4 | ||||
-rwxr-xr-x | scripts/tests.sh | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index d947707c..1bf8ffe5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,6 +60,8 @@ matrix: dist: trusty sudo: required compiler: gcc + before_install: + - docker pull ethereum/client-cpp env: - ZIP_SUFFIX=ubuntu-trusty - SOLC_STOREBYTECODE=On @@ -68,6 +70,8 @@ matrix: dist: trusty sudo: required compiler: clang + before_install: + - docker pull ethereum/client-cpp env: - ZIP_SUFFIX=ubuntu-trusty-clang - SOLC_STOREBYTECODE=On diff --git a/scripts/tests.sh b/scripts/tests.sh index d47edd28..34d71bd2 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -43,7 +43,8 @@ test "${output//[[:blank:]]/}" = "3" if [[ "$OSTYPE" == "darwin"* ]]; then ETH_PATH="$REPO_ROOT/eth" else - ETH_PATH="eth" + 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" fi # This trailing ampersand directs the shell to run the command in the background, |