Merge pull request #2134 from nextcloud/add-acceptance-tests-for-lobby-to-drone

Add acceptance tests for lobby to Drone
This commit is contained in:
Daniel Calviño Sánchez 2019-08-30 08:40:44 +02:00 коммит произвёл GitHub
Родитель 9df40c523c c180a412a8
Коммит 00a50b95e7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 40 добавлений и 0 удалений

Просмотреть файл

@ -1127,6 +1127,46 @@ trigger:
- pull_request
- push
---
kind: pipeline
name: acc-sqlite-lobby
steps:
- name: acceptance-lobby
image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
environment:
APP_NAME: spreed
CORE_BRANCH: master
SELENIUM_HOST: selenium
TESTS_ACCEPTANCE: lobby
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: 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