aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install_deps.sh8
-rwxr-xr-xscripts/tests.sh2
2 files changed, 10 insertions, 0 deletions
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