Test via ipc on travis.

This commit is contained in:
chriseth 2016-06-28 23:50:39 +02:00
parent 67d1e4783a
commit 7369b5e4bb
2 changed files with 13 additions and 2 deletions

View File

@ -27,4 +27,14 @@ cmake .. -DGUI=0 -DCMAKE_BUILD_TYPE=$TRAVIS_BUILD_TYPE $OPTIONS
make lllc solc soljson soltest
./solidity/test/soltest
# Test runs disabled for macos for now,
# we need to find a way to install eth.
if [[ "$OSTYPE" != "darwin"* ]]
then
eth --test -d /tmp/test &
while [ ! -S /tmp/test/geth.ipc ]; do sleep 2; done
./solidity/test/soltest --ipc /tmp/test/geth.ipc
pkill eth
fi

View File

@ -65,7 +65,8 @@ elif [[ "$OSTYPE" == "linux-gnu" ]]; then
libmicrohttpd-dev \
libminiupnpc-dev \
libz-dev \
opencl-headers
opencl-headers \
eth
# The exception is libjson-rpc-cpp, which we have to build from source for
# reliable results. The only binaries available for this package are those