From 8758d9fb3c3bd355c476273921b24219d23c7bef Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 19 Apr 2017 09:05:43 +0200 Subject: Install eth (including dependencies). --- scripts/install_deps.sh | 8 ++++++++ scripts/tests.sh | 2 ++ 2 files changed, 10 insertions(+) diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh index 1d37d411..24cf49d5 100755 --- a/scripts/install_deps.sh +++ b/scripts/install_deps.sh @@ -312,6 +312,14 @@ case $(uname -s) in cmake \ git \ 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 ;; #------------------------------------------------------------------------------ diff --git a/scripts/tests.sh b/scripts/tests.sh index 6a16a40a..4325535b 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -48,7 +48,9 @@ else mkdir -p /tmp/test wget -O /tmp/test/eth https://github.com/ethereum/cpp-ethereum/releases/download/solidityTester/eth test "$(shasum /tmp/test/eth)" = "52ca66b90aae9886576f3cabe5ef232a36f9b6a4 /tmp/test/eth" + sync chmod +x /tmp/test/eth + sync # Otherwise we might get a "text file busy" error ETH_PATH="/tmp/test/eth" fi -- cgit