parent
527ef76dd6
commit
9d35cacfda
@ -0,0 +1,18 @@ |
||||
#!/bin/bash |
||||
# |
||||
# ownCloud |
||||
# |
||||
# @author Joas Schilling |
||||
# @author Thomas Müller |
||||
# @copyright 2015 Thomas Müller thomas.mueller@tmit.eu |
||||
# |
||||
|
||||
APP=$1 |
||||
|
||||
FOUND=$(git diff ${TRAVIS_COMMIT_RANGE} | grep -- "^+++ b/apps/$APP/") |
||||
|
||||
if [ "x$FOUND" != 'x' ]; then |
||||
echo "1" |
||||
else |
||||
echo "0" |
||||
fi |
||||
@ -1,17 +0,0 @@ |
||||
#!/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 |
||||
Loading…
Reference in new issue