|
|
@ -8,19 +8,19 @@ echo "" |
|
|
|
echo "* building docker image" |
|
|
|
bash ./test/docker/build.sh |
|
|
|
|
|
|
|
#echo "" |
|
|
|
#echo "* running go tests and app tests in docker container" |
|
|
|
#docker run --name run_test -t tester bash test/run_test.sh |
|
|
|
# |
|
|
|
## copy the coverage results out of docker container |
|
|
|
#docker cp run_test:/go/src/github.com/tendermint/tendermint/coverage.txt . |
|
|
|
# |
|
|
|
## test basic network connectivity |
|
|
|
## by starting a local testnet and checking peers connect and make blocks |
|
|
|
#echo "" |
|
|
|
#echo "* running p2p tests on a local docker network" |
|
|
|
#bash test/p2p/test.sh tester |
|
|
|
# |
|
|
|
echo "" |
|
|
|
echo "* running go tests and app tests in docker container" |
|
|
|
docker run --name run_test -t tester bash test/run_test.sh |
|
|
|
|
|
|
|
# copy the coverage results out of docker container |
|
|
|
docker cp run_test:/go/src/github.com/tendermint/tendermint/coverage.txt . |
|
|
|
|
|
|
|
# test basic network connectivity |
|
|
|
# by starting a local testnet and checking peers connect and make blocks |
|
|
|
echo "" |
|
|
|
echo "* running p2p tests on a local docker network" |
|
|
|
bash test/p2p/test.sh tester |
|
|
|
|
|
|
|
# only run the cloud benchmark for releases |
|
|
|
BRANCH=`git rev-parse --abbrev-ref HEAD` |
|
|
|
if [[ $(echo "$BRANCH" | grep "release-") != "" ]]; then |
|
|
|