Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.drone.yml7
-rwxr-xr-xbuild/integration/run.sh9
2 files changed, 16 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index bfd173c1347..c5e3a2ebffb 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -1,4 +1,11 @@
build:
+ integration:
+ image: morrisjobke/nextcloud-ci-php7:1.0.3
+ commands:
+ - git submodule update --init
+ - ./occ maintenance:install --admin-pass=admin
+ - cd build/integration
+ - ./run.sh
jsunit:
image: morrisjobke/nextcloud-ci-jsunit:1.0.2
commands:
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