aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-04-19 15:05:43 +0800
committerchriseth <chris@ethereum.org>2017-04-25 22:47:44 +0800
commit8758d9fb3c3bd355c476273921b24219d23c7bef (patch)
treedf9a9db19a3664aa796b1649feb9d41ea7697cfa /scripts
parentcdc64e3cbb23fc6b5fc7792966b2491d308175a3 (diff)
downloaddexon-solidity-8758d9fb3c3bd355c476273921b24219d23c7bef.tar
dexon-solidity-8758d9fb3c3bd355c476273921b24219d23c7bef.tar.gz
dexon-solidity-8758d9fb3c3bd355c476273921b24219d23c7bef.tar.bz2
dexon-solidity-8758d9fb3c3bd355c476273921b24219d23c7bef.tar.lz
dexon-solidity-8758d9fb3c3bd355c476273921b24219d23c7bef.tar.xz
dexon-solidity-8758d9fb3c3bd355c476273921b24219d23c7bef.tar.zst
dexon-solidity-8758d9fb3c3bd355c476273921b24219d23c7bef.zip
Install eth (including dependencies).
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