now runs tests!

This commit is contained in:
Jeffrey Paul 2016-09-09 11:46:34 +02:00
parent 7eb49c0fef
commit 3934e6e855
2 changed files with 19 additions and 2 deletions

View File

@ -65,6 +65,24 @@ RUN \
cd /usr/local/src/steem && \
git checkout $STEEMD_REV && \
git submodule update --init --recursive && \
rsync -a \
/usr/local/src/steem/ \
/usr/local/src/steemtest/
RUN \
cd /usr/local/src/steemtest && \
cmake \
-DCMAKE_BUILD_TYPE=Debug \
-DBUILD_STEEM_TESTNET=On \
-DLOW_MEMORY_NODE=ON \
. \
&& \
make -j$(nproc) chain_test && \
./tests/chain_test && \
rm -rf /usr/local/src/steemtest
RUN \
cd /usr/local/src/steem && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DLOW_MEMORY_NODE=ON \
@ -74,8 +92,6 @@ RUN \
make install && \
rm -rf /usr/local/src/steem
# FIXME run steemd tests as part of build
RUN \
apt-get remove -y \
automake \

View File

@ -7,6 +7,7 @@ services:
environment:
- STEEMD_MINER_NAME
- STEEMD_PRIVATE_KEY
- STEEMD_WITNESS_NAME
ports:
- "8090:8090"
- "2001:2001"