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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-10-30 11:46:53 +0300
committerJoas Schilling <coding@schilljs.com>2020-10-30 11:46:53 +0300
commit0de48617ec0913ea508854fb4bee3c99074e1ea9 (patch)
treecf4e52b52171b2fa8b6928e97509b9956f984631 /.drone.yml
parent3076eb4e9bb4006a5670aa08a2b35d2cfa42cd6c (diff)
Only run phpunit when php, xml or test files are modified
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index cadcc0d45a9..aa718998203 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -249,14 +249,17 @@ steps:
- name: nodb-php7.3
image: nextcloudci/php7.3:latest
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
- name: nodb-php7.4
image: nextcloudci/php7.4:latest
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
#- name: nodb-php8.0
# image: nextcloudci/php8.0:latest
# commands:
+# - bash tests/drone-run-php-tests.sh || exit 0
# - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
services:
@@ -283,14 +286,17 @@ steps:
- name: sqlite-php7.3
image: nextcloudci/php7.3:latest
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
- name: sqlite-php7.4
image: nextcloudci/php7.4:latest
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
#- name: sqlite-php8.0
# image: nextcloudci/php8.0:latest
# commands:
+# - bash tests/drone-run-php-tests.sh || exit 0
# - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
services:
@@ -317,6 +323,7 @@ steps:
- name: mariadb10.1-php7.3
image: nextcloudci/php7.3:latest
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
services:
@@ -352,6 +359,7 @@ steps:
- name: mariadb10.2-php7.3
image: nextcloudci/php7.3:latest
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
services:
@@ -386,6 +394,7 @@ steps:
- name: mariadb10.3-php7.3
image: nextcloudci/php7.3:latest
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
services:
@@ -421,10 +430,12 @@ steps:
- name: mariadb10.4-php7.4
image: nextcloudci/php7.4:latest
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
#- name: mariadb10.4-php8.0
# image: nextcloudci/php8.0:latest
# commands:
+# - bash tests/drone-run-php-tests.sh || exit 0
# - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
services:
@@ -460,6 +471,7 @@ steps:
- name: mysql-php7.4
image: nextcloudci/php7.4:latest
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
services:
@@ -496,6 +508,7 @@ steps:
- name: mysql-php7.4
image: nextcloudci/php7.4:latest
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
services:
@@ -528,6 +541,7 @@ steps:
- name: mysql-php7.3
image: nextcloudci/php7.3:php7.3-4
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
services:
@@ -560,6 +574,7 @@ steps:
- name: mysql5.6-php7.3
image: nextcloudci/php7.3:latest
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
services:
@@ -594,6 +609,7 @@ steps:
- name: postgres-php7.3
image: nextcloudci/php7.3:php7.3-4
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- sleep 10 # gives the database enough time to initialize
- POSTGRES=9 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
@@ -629,6 +645,7 @@ steps:
- name: postgres-php7.3
image: nextcloudci/php7.3:latest
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- sleep 10 # gives the database enough time to initialize
- POSTGRES=10 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
@@ -663,6 +680,7 @@ steps:
- name: postgres-php7.4
image: nextcloudci/php7.4:latest
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- sleep 10 # gives the database enough time to initialize
- POSTGRES=11 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
@@ -699,10 +717,12 @@ steps:
- name: mysqlmb4-php7.4
image: nextcloudci/php7.4:latest
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
#- name: mysqlmb4-php8.0
# image: nextcloudci/php8.0:latest
# commands:
+# - bash tests/drone-run-php-tests.sh || exit 0
# - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
services:
@@ -738,6 +758,7 @@ steps:
- name: mysqlmb4-php7.3
image: nextcloudci/php7.3:php7.3-4
commands:
+ - bash tests/drone-run-php-tests.sh || exit 0
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
services: