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

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-07-30 21:30:33 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-07-30 21:30:33 +0300
commita8804bc39497b42e5acaeb174b96b91d873c0eb2 (patch)
tree68c32099b08a04f4f86a66aa0b591d8eeb99611a /.drone.yml
parentf02a7df4aa0cc28ceacd07473f397d4fc75db320 (diff)
Add acceptance tests for public conversations to Drone
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml42
1 files changed, 42 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index 64b588b12..14aa0fb29 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -1087,6 +1087,48 @@ trigger:
---
kind: pipeline
+name: acc-sqlite-conversation-public
+
+steps:
+ - name: acceptance-conversation-public
+ image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
+ environment:
+ APP_NAME: spreed
+ CORE_BRANCH: master
+ SELENIUM_HOST: selenium
+ TESTS_ACCEPTANCE: conversation-public
+ commands:
+ - bash tests/drone-run-acceptance-tests.sh || exit 0
+ # Pre-setup steps
+ - git clone --depth 1 -b $CORE_BRANCH https://github.com/nextcloud/server ../server
+ - cp -R . ../server/apps/$APP_NAME
+ - 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-$TESTS_ACCEPTANCE --selenium-server $SELENIUM_HOST:4444 allow-git-repository-modifications features/$TESTS_ACCEPTANCE.feature
+
+services:
+ - name: cache
+ image: redis
+ - name: selenium
+ image: selenium/standalone-firefox:2.53.1-beryllium
+ environment:
+ # Reduce default log level for Selenium server (INFO) as it is too
+ # verbose.
+ JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
+
+trigger:
+ branch:
+ - master
+ - stable*
+ event:
+ - pull_request
+ - push
+
+---
+kind: pipeline
name: acc-sqlite-public-share-auth
steps: