summaryrefslogtreecommitdiffstats
path: root/tests/travis/test_for_app.sh
blob: a97c66dba83b94bb2b11a2c2e5681dbdd18a5d68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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