test: fix docker and apps

This commit is contained in:
Ethan Buchman
2017-03-05 20:39:52 -05:00
parent 0fa34f7f67
commit e4e70ece3f
4 changed files with 22 additions and 14 deletions

View File

@ -6,12 +6,13 @@ pwd
BRANCH=$(git rev-parse --abbrev-ref HEAD)
echo "Current branch: $BRANCH"
# run the go unit tests with coverage
bash test/test_cover.sh
# run the app tests
# run the app tests using bash
bash test/app/test.sh
# run the persistence test
# run the persistence tests using bash
bash test/persist/test.sh
if [[ "$BRANCH" == "master" || $(echo "$BRANCH" | grep "release-") != "" ]]; then