mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Test using eth from docker.
This commit is contained in:
parent
362813f0d6
commit
1caf1f0b8d
@ -60,6 +60,8 @@ matrix:
|
|||||||
dist: trusty
|
dist: trusty
|
||||||
sudo: required
|
sudo: required
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
|
before_install:
|
||||||
|
- docker pull ethereum/client-cpp
|
||||||
env:
|
env:
|
||||||
- ZIP_SUFFIX=ubuntu-trusty
|
- ZIP_SUFFIX=ubuntu-trusty
|
||||||
- SOLC_STOREBYTECODE=On
|
- SOLC_STOREBYTECODE=On
|
||||||
@ -68,6 +70,8 @@ matrix:
|
|||||||
dist: trusty
|
dist: trusty
|
||||||
sudo: required
|
sudo: required
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
before_install:
|
||||||
|
- docker pull ethereum/client-cpp
|
||||||
env:
|
env:
|
||||||
- ZIP_SUFFIX=ubuntu-trusty-clang
|
- ZIP_SUFFIX=ubuntu-trusty-clang
|
||||||
- SOLC_STOREBYTECODE=On
|
- SOLC_STOREBYTECODE=On
|
||||||
|
@ -43,7 +43,8 @@ test "${output//[[:blank:]]/}" = "3"
|
|||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
ETH_PATH="$REPO_ROOT/eth"
|
ETH_PATH="$REPO_ROOT/eth"
|
||||||
else
|
else
|
||||||
ETH_PATH="eth"
|
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"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# This trailing ampersand directs the shell to run the command in the background,
|
# This trailing ampersand directs the shell to run the command in the background,
|
||||||
|
Loading…
Reference in New Issue
Block a user