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:
authorJoas Schilling <coding@schilljs.com>2020-06-25 11:16:07 +0300
committerJoas Schilling <coding@schilljs.com>2020-06-25 11:16:07 +0300
commit27af78f8ebd7d1b18f952caec129c79650f50e59 (patch)
tree07402f4b29799c5f7febcbbbec3609e180ff81ea /.drone.yml
parent5bdfb518144ca2b4664e2c762402e3d683a18bea (diff)
Enable fixed postgres tests again
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml263
1 files changed, 135 insertions, 128 deletions
diff --git a/.drone.yml b/.drone.yml
index 9e9a7fba8..9c94de108 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -251,134 +251,137 @@ trigger:
- pull_request
- push
-#---
-#kind: pipeline
-#name: unit-pgsql-php7.2
-#
-#steps:
-# - name: pgsql-php7.2
-# image: nextcloudci/php7.2:php7.2-13
-# environment:
-# APP_NAME: spreed
-# CORE_BRANCH: master
-# DATABASEHOST: pgsql
-# commands:
-# - bash tests/drone-run-php-tests.sh || exit 0
-# - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
-# - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
-# - cd ../server
-# - ./occ app:enable $APP_NAME
-# - cd apps/$APP_NAME
-#
-# # Run phpunit tests
-# - cd tests/php/
-# - phpunit --configuration phpunit.xml
-#
-#services:
-# - name: cache
-# image: redis
-# - name: pgsql
-# image: postgres:10
-# environment:
-# POSTGRES_USER: oc_autotest
-# POSTGRES_DB: oc_autotest_dummy
-# POSTGRES_PASSWORD:
-# tmpfs:
-# - /var/lib/postgresql/data
-#
-#trigger:
-# branch:
-# - master
-# - stable*
-# event:
-# - pull_request
-# - push
-#
-#---
-#kind: pipeline
-#name: unit-pgsql-php7.3
-#
-#steps:
-# - name: pgsql-php7.3
-# image: nextcloudci/php7.3:php7.3-5
-# environment:
-# APP_NAME: spreed
-# CORE_BRANCH: master
-# DATABASEHOST: pgsql
-# commands:
-# - bash tests/drone-run-php-tests.sh || exit 0
-# - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
-# - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
-# - cd ../server
-# - ./occ app:enable $APP_NAME
-# - cd apps/$APP_NAME
-#
-# # Run phpunit tests
-# - cd tests/php/
-# - phpunit --configuration phpunit.xml
-#
-#services:
-# - name: cache
-# image: redis
-# - name: pgsql
-# image: postgres:10
-# environment:
-# POSTGRES_USER: oc_autotest
-# POSTGRES_DB: oc_autotest_dummy
-# POSTGRES_PASSWORD:
-# tmpfs:
-# - /var/lib/postgresql/data
-#
-#trigger:
-# branch:
-# - master
-# - stable*
-# event:
-# - pull_request
-# - push
-#
-#---
-#kind: pipeline
-#name: unit-pgsql-php7.4
-#
-#steps:
-# - name: pgsql-php7.4
-# image: nextcloudci/php7.4:2
-# environment:
-# APP_NAME: spreed
-# CORE_BRANCH: master
-# DATABASEHOST: pgsql
-# commands:
-# - bash tests/drone-run-php-tests.sh || exit 0
-# - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
-# - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
-# - cd ../server
-# - ./occ app:enable $APP_NAME
-# - cd apps/$APP_NAME
-#
-# # Run phpunit tests
-# - cd tests/php/
-# - phpunit --configuration phpunit.xml
-#
-#services:
-# - name: cache
-# image: redis
-# - name: pgsql
-# image: postgres:10
-# environment:
-# POSTGRES_USER: oc_autotest
-# POSTGRES_DB: oc_autotest_dummy
-# POSTGRES_PASSWORD:
-# tmpfs:
-# - /var/lib/postgresql/data
-#
-#trigger:
-# branch:
-# - master
-# - stable*
-# event:
-# - pull_request
-# - push
+---
+kind: pipeline
+name: unit-pgsql-php7.2
+
+steps:
+ - name: pgsql-php7.2
+ image: nextcloudci/php7.2:php7.2-13
+ environment:
+ APP_NAME: spreed
+ CORE_BRANCH: master
+ DATABASEHOST: pgsql
+ commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
+ - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
+ - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
+ - cd ../server
+ - ./occ app:enable $APP_NAME
+ - cd apps/$APP_NAME
+
+ # Run phpunit tests
+ - cd tests/php/
+ - phpunit --configuration phpunit.xml
+
+services:
+ - name: cache
+ image: redis
+ - name: pgsql
+ image: postgres:10
+ environment:
+ POSTGRES_USER: oc_autotest
+ POSTGRES_DB: oc_autotest_dummy
+ POSTGRES_HOST_AUTH_METHOD: trust
+ POSTGRES_PASSWORD:
+ tmpfs:
+ - /var/lib/postgresql/data
+
+trigger:
+ branch:
+ - master
+ - stable*
+ event:
+ - pull_request
+ - push
+
+---
+kind: pipeline
+name: unit-pgsql-php7.3
+
+steps:
+ - name: pgsql-php7.3
+ image: nextcloudci/php7.3:php7.3-5
+ environment:
+ APP_NAME: spreed
+ CORE_BRANCH: master
+ DATABASEHOST: pgsql
+ commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
+ - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
+ - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
+ - cd ../server
+ - ./occ app:enable $APP_NAME
+ - cd apps/$APP_NAME
+
+ # Run phpunit tests
+ - cd tests/php/
+ - phpunit --configuration phpunit.xml
+
+services:
+ - name: cache
+ image: redis
+ - name: pgsql
+ image: postgres:10
+ environment:
+ POSTGRES_USER: oc_autotest
+ POSTGRES_DB: oc_autotest_dummy
+ POSTGRES_HOST_AUTH_METHOD: trust
+ POSTGRES_PASSWORD:
+ tmpfs:
+ - /var/lib/postgresql/data
+
+trigger:
+ branch:
+ - master
+ - stable*
+ event:
+ - pull_request
+ - push
+
+---
+kind: pipeline
+name: unit-pgsql-php7.4
+
+steps:
+ - name: pgsql-php7.4
+ image: nextcloudci/php7.4:2
+ environment:
+ APP_NAME: spreed
+ CORE_BRANCH: master
+ DATABASEHOST: pgsql
+ commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
+ - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
+ - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DATABASEHOST
+ - cd ../server
+ - ./occ app:enable $APP_NAME
+ - cd apps/$APP_NAME
+
+ # Run phpunit tests
+ - cd tests/php/
+ - phpunit --configuration phpunit.xml
+
+services:
+ - name: cache
+ image: redis
+ - name: pgsql
+ image: postgres:10
+ environment:
+ POSTGRES_USER: oc_autotest
+ POSTGRES_DB: oc_autotest_dummy
+ POSTGRES_HOST_AUTH_METHOD: trust
+ POSTGRES_PASSWORD:
+ tmpfs:
+ - /var/lib/postgresql/data
+
+trigger:
+ branch:
+ - master
+ - stable*
+ event:
+ - pull_request
+ - push
---
kind: pipeline
@@ -731,6 +734,7 @@ services:
environment:
POSTGRES_USER: oc_autotest
POSTGRES_DB: oc_autotest_dummy
+ POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PASSWORD:
tmpfs:
- /var/lib/postgresql/data
@@ -774,6 +778,7 @@ services:
environment:
POSTGRES_USER: oc_autotest
POSTGRES_DB: oc_autotest_dummy
+ POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PASSWORD:
tmpfs:
- /var/lib/postgresql/data
@@ -817,6 +822,7 @@ services:
environment:
POSTGRES_USER: oc_autotest
POSTGRES_DB: oc_autotest_dummy
+ POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PASSWORD:
tmpfs:
- /var/lib/postgresql/data
@@ -860,6 +866,7 @@ services:
environment:
POSTGRES_USER: oc_autotest
POSTGRES_DB: oc_autotest_dummy
+ POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PASSWORD:
tmpfs:
- /var/lib/postgresql/data