aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration/run.sh
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-06-14 16:03:59 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-06-14 16:03:59 +0200
commit859ca1f9bb8767903258bfaddebb81a93601e445 (patch)
tree787afc8c1d8a31829915ddeb8772882b4edea419 /build/integration/run.sh
parent6b0577c69916843cd59f3187a30b6dc6c4480aa5 (diff)
downloadnextcloud-server-859ca1f9bb8767903258bfaddebb81a93601e445.tar.gz
nextcloud-server-859ca1f9bb8767903258bfaddebb81a93601e445.zip
Add integration tests
Diffstat (limited to 'build/integration/run.sh')
-rwxr-xr-xbuild/integration/run.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/integration/run.sh b/build/integration/run.sh
index 5a222bda3e3..3725ba1af6f 100755
--- a/build/integration/run.sh
+++ b/build/integration/run.sh
@@ -1,5 +1,14 @@
#!/usr/bin/env bash
+COMPOSER=$(which composer)
+
+if [ -x "$COMPOSER" ]; then
+ echo "Using composer executable $COMPOSER"
+else
+ echo "Could not find composer executable" >&2
+ exit 1
+fi
+
composer install
SCENARIO_TO_RUN=$1