Use fixed binary for eth.

This commit is contained in:
chriseth 2017-04-18 18:52:01 +02:00
parent 38211fdc25
commit cdc64e3cbb
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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,