aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-04-19 00:52:01 +0800
committerchriseth <chris@ethereum.org>2017-04-25 22:47:44 +0800
commitcdc64e3cbb23fc6b5fc7792966b2491d308175a3 (patch)
treee7b395dc1b594cee83777857adee91a0f59e9efa
parent38211fdc255a7a8cc55a6af18a47c8dd04ddd8a9 (diff)
downloaddexon-solidity-cdc64e3cbb23fc6b5fc7792966b2491d308175a3.tar.gz
dexon-solidity-cdc64e3cbb23fc6b5fc7792966b2491d308175a3.tar.zst
dexon-solidity-cdc64e3cbb23fc6b5fc7792966b2491d308175a3.zip
Use fixed binary for eth.
-rw-r--r--.travis.yml4
-rwxr-xr-xscripts/tests.sh5
2 files changed, 4 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 1bf8ffe5..d947707c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -60,8 +60,6 @@ matrix:
dist: trusty
sudo: required
compiler: gcc
- before_install:
- - docker pull ethereum/client-cpp
env:
- ZIP_SUFFIX=ubuntu-trusty
- SOLC_STOREBYTECODE=On
@@ -70,8 +68,6 @@ 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 ff1229da..6a16a40a 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -46,7 +46,10 @@ elif [ -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"
+ wget -O /tmp/test/eth https://github.com/ethereum/cpp-ethereum/releases/download/solidityTester/eth
+ test "$(shasum /tmp/test/eth)" = "52ca66b90aae9886576f3cabe5ef232a36f9b6a4 /tmp/test/eth"
+ chmod +x /tmp/test/eth
+ ETH_PATH="/tmp/test/eth"
fi
# This trailing ampersand directs the shell to run the command in the background,