tendermint/test/test.sh

15 lines
331 B
Bash
Raw Normal View History

2016-07-23 12:48:30 -04:00
#! /bin/bash
# integrations test!
# if we pushed to STAGING or MASTER,
# run the integrations tests.
BRANCH=`git rev-parse --abbrev-ref HEAD`
echo "Current branch: $BRANCH"
if [[ "$BRANCH" == "master" || "$BRANCH" == "staging" ]]; then
docker build -t tester -f ./test/Dockerfile .
docker run -t tester bash /test_libs.sh
fi