Install eth (including dependencies).

This commit is contained in:
chriseth 2017-04-19 09:05:43 +02:00
parent cdc64e3cbb
commit 8758d9fb3c
2 changed files with 10 additions and 0 deletions

View File

@ -312,6 +312,14 @@ case $(uname -s) in
cmake \ cmake \
git \ git \
libboost-all-dev libboost-all-dev
if [ "$CI" = true ]; then
# Install 'eth', for use in the Solidity Tests-over-IPC.
# We will not use this 'eth', but its dependencies
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo add-apt-repository -y ppa:ethereum/ethereum-dev
sudo apt-get -y update
sudo apt-get -y install eth
fi
;; ;;
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -48,7 +48,9 @@ else
mkdir -p /tmp/test mkdir -p /tmp/test
wget -O /tmp/test/eth https://github.com/ethereum/cpp-ethereum/releases/download/solidityTester/eth wget -O /tmp/test/eth https://github.com/ethereum/cpp-ethereum/releases/download/solidityTester/eth
test "$(shasum /tmp/test/eth)" = "52ca66b90aae9886576f3cabe5ef232a36f9b6a4 /tmp/test/eth" test "$(shasum /tmp/test/eth)" = "52ca66b90aae9886576f3cabe5ef232a36f9b6a4 /tmp/test/eth"
sync
chmod +x /tmp/test/eth chmod +x /tmp/test/eth
sync # Otherwise we might get a "text file busy" error
ETH_PATH="/tmp/test/eth" ETH_PATH="/tmp/test/eth"
fi fi