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:
authorIvan Sein <ivan@struktur.de>2018-04-13 11:34:34 +0300
committerGitHub <noreply@github.com>2018-04-13 11:34:34 +0300
commit0c159d5b7fa6f035d1f63fbd7f640b299b8ee3f3 (patch)
tree34d289645fbd2fbdd40064f2c025c102b6fe4b93 /.drone.yml
parentdc5780305280c9e94e5aff7a155ae37692f485f1 (diff)
parent137e7c67273b9e99e277a2cbe33c55fd5adb0d15 (diff)
Merge pull request #768 from nextcloud/add-acceptance-tests
Add acceptance tests
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index e01048ea1..584c9c781 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -151,6 +151,21 @@ pipeline:
when:
matrix:
TESTS: jsunit
+ acceptance-conversation:
+ 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-conversation --selenium-server selenium:4444 allow-git-repository-modifications features/conversation.feature
+ when:
+ matrix:
+ TESTS-ACCEPTANCE: conversation
matrix:
include:
@@ -171,6 +186,8 @@ matrix:
DB: pgsql
DATABASEHOST: postgres-10
- TESTS: jsunit
+ - TESTS: acceptance
+ TESTS-ACCEPTANCE: conversation
services:
mysql-5.7:
@@ -191,3 +208,12 @@ services:
when:
matrix:
DATABASEHOST: postgres-10
+ 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
+ when:
+ matrix:
+ TESTS: acceptance