Test using eth from docker.

This commit is contained in:
chriseth
2017-04-25 16:47:43 +02:00
committed by chriseth
parent 362813f0d6
commit 1caf1f0b8d
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -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
+2 -1
View File
@@ -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,