nextcloud/tests/travis/test_for_app.sh

18 lines
318 B
Bash
Executable File

#!/bin/bash
#
# ownCloud
#
# @author Thomas Müller
# @copyright 2015 Thomas Müller thomas.mueller@tmit.eu
#
set -e
APP=$1
if git diff ${TRAVIS_COMMIT_RANGE} | grep -- "^+++ b/apps/$APP/"; then
echo "Executing this test config ...."
else
echo "Test config is not relevant for this change. terminating"
exit 1
fi