You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
393 B

8 years ago
  1. #! /bin/bash
  2. set -e
  3. echo `pwd`
  4. BRANCH=`git rev-parse --abbrev-ref HEAD`
  5. echo "Current branch: $BRANCH"
  6. bash test/test_cover.sh
  7. # run the app tests
  8. bash test/app/test.sh
  9. if [[ "$BRANCH" == "master" || $(echo "$BRANCH" | grep "release-") != "" ]]; then
  10. echo ""
  11. echo "* branch $BRANCH; testing libs"
  12. # checkout every github.com/tendermint dir and run its tests
  13. bash test/test_libs.sh
  14. fi