summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-04-20 15:48:28 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-04-20 15:48:28 +0200
commitfbe96fdfe55e3259683de175556cea546b9928b1 (patch)
tree91fd49c21d67d0f232daf309bb564b3e5d394086 /.drone.yml
parentc874be537db9ecab40407d4fb4f1ffd8a9e78b55 (diff)
Add acceptance tests for chat to Drone
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index 584c9c781..a2be04991 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -151,6 +151,21 @@ pipeline:
when:
matrix:
TESTS: jsunit
+ acceptance-chat:
+ image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
+ commands:
+ # Pre-setup steps
+ - git clone --depth 1 -b master https://github.com/nextcloud/server ../server
+ - cp -R . ../server/apps/spreed
+ - cd ../server
+ - git submodule update --init
+ - ln --symbolic `pwd` /var/www/html
+
+ # Run acceptance tests
+ - tests/acceptance/run-local.sh --acceptance-tests-dir apps/spreed/tests/acceptance --timeout-multiplier 10 --nextcloud-server-domain acceptance-chat --selenium-server selenium:4444 allow-git-repository-modifications features/chat.feature
+ when:
+ matrix:
+ TESTS-ACCEPTANCE: chat
acceptance-conversation:
image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
commands:
@@ -187,6 +202,8 @@ matrix:
DATABASEHOST: postgres-10
- TESTS: jsunit
- TESTS: acceptance
+ TESTS-ACCEPTANCE: chat
+ - TESTS: acceptance
TESTS-ACCEPTANCE: conversation
services: