Merge pull request #17898 from nextcloud/ci/7.2
Move more CI to php7.2 as minimum
This commit is contained in:
commit
d9204f61ea
198
.drone.yml
198
.drone.yml
|
@ -52,7 +52,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: checkers
|
- name: checkers
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
image: nextcloudci/php7.2:php7.2-12
|
||||||
commands:
|
commands:
|
||||||
- ./autotest-checkers.sh
|
- ./autotest-checkers.sh
|
||||||
secrets: [ github_token ]
|
secrets: [ github_token ]
|
||||||
|
@ -93,11 +93,6 @@ steps:
|
||||||
image: docker:git
|
image: docker:git
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: syntax-php7.1
|
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
|
||||||
commands:
|
|
||||||
- composer install
|
|
||||||
- ./lib/composer/bin/parallel-lint --exclude lib/composer/jakub-onderka/ --exclude 3rdparty/symfony/polyfill-php70/Resources/stubs/ --exclude 3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/ --exclude lib/composer/composer/autoload_static.php --exclude 3rdparty/composer/autoload_static.php .
|
|
||||||
- name: syntax-php7.2
|
- name: syntax-php7.2
|
||||||
image: nextcloudci/php7.2:php7.2-12
|
image: nextcloudci/php7.2:php7.2-12
|
||||||
commands:
|
commands:
|
||||||
|
@ -134,7 +129,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: litmus-v1
|
- name: litmus-v1
|
||||||
image: nextcloudci/litmus-php7.1:1
|
image: nextcloudci/litmus-php7.2:1
|
||||||
commands:
|
commands:
|
||||||
- bash tests/travis/install.sh sqlite
|
- bash tests/travis/install.sh sqlite
|
||||||
- bash apps/dav/tests/travis/litmus-v1/script.sh
|
- bash apps/dav/tests/travis/litmus-v1/script.sh
|
||||||
|
@ -162,7 +157,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: caldavtester-new-endpoint
|
- name: caldavtester-new-endpoint
|
||||||
image: nextcloudci/litmus-php7.1:1
|
image: nextcloudci/litmus-php7.2:1
|
||||||
commands:
|
commands:
|
||||||
- bash tests/travis/install.sh sqlite
|
- bash tests/travis/install.sh sqlite
|
||||||
- bash apps/dav/tests/travis/caldav/install.sh
|
- bash apps/dav/tests/travis/caldav/install.sh
|
||||||
|
@ -186,7 +181,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: caldavtester-old-endpoint
|
- name: caldavtester-old-endpoint
|
||||||
image: nextcloudci/litmus-php7.1:1
|
image: nextcloudci/litmus-php7.2:1
|
||||||
commands:
|
commands:
|
||||||
- bash tests/travis/install.sh sqlite
|
- bash tests/travis/install.sh sqlite
|
||||||
- bash apps/dav/tests/travis/caldav/install.sh
|
- bash apps/dav/tests/travis/caldav/install.sh
|
||||||
|
@ -210,7 +205,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: carddavtester-new-endpoint
|
- name: carddavtester-new-endpoint
|
||||||
image: nextcloudci/litmus-php7.1:1
|
image: nextcloudci/litmus-php7.2:1
|
||||||
commands:
|
commands:
|
||||||
- bash tests/travis/install.sh sqlite
|
- bash tests/travis/install.sh sqlite
|
||||||
- bash apps/dav/tests/travis/carddav/install.sh
|
- bash apps/dav/tests/travis/carddav/install.sh
|
||||||
|
@ -234,7 +229,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: carddavtester-old-endpoint
|
- name: carddavtester-old-endpoint
|
||||||
image: nextcloudci/litmus-php7.1:1
|
image: nextcloudci/litmus-php7.2:1
|
||||||
commands:
|
commands:
|
||||||
- bash tests/travis/install.sh sqlite
|
- bash tests/travis/install.sh sqlite
|
||||||
- bash apps/dav/tests/travis/carddav/install.sh
|
- bash apps/dav/tests/travis/carddav/install.sh
|
||||||
|
@ -327,10 +322,6 @@ steps:
|
||||||
image: docker:git
|
image: docker:git
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: nodb-php7.1
|
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
|
||||||
commands:
|
|
||||||
- NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
|
|
||||||
- name: nodb-php7.2
|
- name: nodb-php7.2
|
||||||
image: nextcloudci/php7.2:php7.2-11
|
image: nextcloudci/php7.2:php7.2-11
|
||||||
commands:
|
commands:
|
||||||
|
@ -361,10 +352,6 @@ steps:
|
||||||
image: docker:git
|
image: docker:git
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: sqlite-php7.1
|
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
|
||||||
commands:
|
|
||||||
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
|
|
||||||
- name: sqlite-php7.2
|
- name: sqlite-php7.2
|
||||||
image: nextcloudci/php7.2:php7.2-12
|
image: nextcloudci/php7.2:php7.2-12
|
||||||
commands:
|
commands:
|
||||||
|
@ -388,15 +375,15 @@ trigger:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: mariadb10.1-php7.1
|
name: mariadb10.1-php7.2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: submodules
|
- name: submodules
|
||||||
image: docker:git
|
image: docker:git
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: mariadb10.1-php7.1
|
- name: mariadb10.1-php7.2
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
image: nextcloudci/php7.2:php7.2-12
|
||||||
commands:
|
commands:
|
||||||
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
|
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
|
||||||
|
|
||||||
|
@ -423,15 +410,15 @@ trigger:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: mariadb10.2-php7.1
|
name: mariadb10.2-php7.2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: submodules
|
- name: submodules
|
||||||
image: docker:git
|
image: docker:git
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: mariadb10.2-php7.1
|
- name: mariadb10.2-php7.2
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
image: nextcloudci/php7.2:php7.2-12
|
||||||
commands:
|
commands:
|
||||||
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
|
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
|
||||||
|
|
||||||
|
@ -457,15 +444,15 @@ trigger:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: mariadb10.3-php7.1
|
name: mariadb10.3-php7.2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: submodules
|
- name: submodules
|
||||||
image: docker:git
|
image: docker:git
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: mariadb10.3-php7.1
|
- name: mariadb10.3-php7.2
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
image: nextcloudci/php7.2:php7.2-12
|
||||||
commands:
|
commands:
|
||||||
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
|
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
|
||||||
|
|
||||||
|
@ -560,40 +547,6 @@ trigger:
|
||||||
- pull_request
|
- pull_request
|
||||||
- push
|
- push
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: mysql5.7-php7.1
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: submodules
|
|
||||||
image: docker:git
|
|
||||||
commands:
|
|
||||||
- git submodule update --init
|
|
||||||
- name: mysql-php7.1
|
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
|
||||||
commands:
|
|
||||||
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
|
|
||||||
|
|
||||||
services:
|
|
||||||
- name: cache
|
|
||||||
image: redis
|
|
||||||
- name: mysql
|
|
||||||
image: mysql:5.7
|
|
||||||
environment:
|
|
||||||
MYSQL_ROOT_PASSWORD: owncloud
|
|
||||||
MYSQL_USER: oc_autotest
|
|
||||||
MYSQL_PASSWORD: owncloud
|
|
||||||
MYSQL_DATABASE: oc_autotest
|
|
||||||
tmpfs:
|
|
||||||
- /var/lib/mysql
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
- stable*
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: mysql5.7-php7.2
|
name: mysql5.7-php7.2
|
||||||
|
@ -660,15 +613,15 @@ trigger:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: mysql5.6-php7.1
|
name: mysql5.6-php7.2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: submodules
|
- name: submodules
|
||||||
image: docker:git
|
image: docker:git
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: mysql5.6-php7.1
|
- name: mysql5.6-php7.2
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
image: nextcloudci/php7.2:php7.2-12
|
||||||
commands:
|
commands:
|
||||||
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
|
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
|
||||||
|
|
||||||
|
@ -729,15 +682,15 @@ trigger:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: postgres10-php7.1
|
name: postgres10-php7.2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: submodules
|
- name: submodules
|
||||||
image: docker:git
|
image: docker:git
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: postgres-php7.1
|
- name: postgres-php7.2
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
image: nextcloudci/php7.2:php7.2-12
|
||||||
commands:
|
commands:
|
||||||
- sleep 10 # gives the database enough time to initialize
|
- sleep 10 # gives the database enough time to initialize
|
||||||
- POSTGRES=10 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
|
- POSTGRES=10 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
|
||||||
|
@ -763,15 +716,15 @@ trigger:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: postgres11-php7.1
|
name: postgres11-php7.2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: submodules
|
- name: submodules
|
||||||
image: docker:git
|
image: docker:git
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: postgres-php7.1
|
- name: postgres-php7.2
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
image: nextcloudci/php7.2:php7.2-12
|
||||||
commands:
|
commands:
|
||||||
- sleep 10 # gives the database enough time to initialize
|
- sleep 10 # gives the database enough time to initialize
|
||||||
- POSTGRES=11 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
|
- POSTGRES=11 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
|
||||||
|
@ -796,41 +749,6 @@ trigger:
|
||||||
- pull_request
|
- pull_request
|
||||||
- push
|
- push
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: mysqlmb4-php7.1
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: submodules
|
|
||||||
image: docker:git
|
|
||||||
commands:
|
|
||||||
- git submodule update --init
|
|
||||||
- name: mysqlmb4-php7.1
|
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
|
||||||
commands:
|
|
||||||
- NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
|
|
||||||
|
|
||||||
services:
|
|
||||||
- name: cache
|
|
||||||
image: redis
|
|
||||||
- name: mysqlmb4
|
|
||||||
image: mysql:5.7.22
|
|
||||||
environment:
|
|
||||||
MYSQL_ROOT_PASSWORD: owncloud
|
|
||||||
MYSQL_USER: oc_autotest
|
|
||||||
MYSQL_PASSWORD: owncloud
|
|
||||||
MYSQL_DATABASE: oc_autotest
|
|
||||||
command: [ "--innodb_large_prefix=true", "--innodb_file_format=barracuda", "--innodb_file_per_table=true" ]
|
|
||||||
tmpfs:
|
|
||||||
- /var/lib/mysql
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
- stable*
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: mysqlmb4-php7.2
|
name: mysqlmb4-php7.2
|
||||||
|
@ -2123,7 +2041,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: nodb-codecov
|
- name: nodb-codecov
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
image: nextcloudci/php7.2:php7.2-12
|
||||||
commands:
|
commands:
|
||||||
- phpenmod xdebug
|
- phpenmod xdebug
|
||||||
- TEST_SELECTION=NODB ./autotest.sh sqlite
|
- TEST_SELECTION=NODB ./autotest.sh sqlite
|
||||||
|
@ -2152,7 +2070,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: db-codecov
|
- name: db-codecov
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
image: nextcloudci/php7.2:php7.2-12
|
||||||
commands:
|
commands:
|
||||||
- phpenmod xdebug
|
- phpenmod xdebug
|
||||||
- TEST_SELECTION=QUICKDB ./autotest.sh sqlite
|
- TEST_SELECTION=QUICKDB ./autotest.sh sqlite
|
||||||
|
@ -2181,7 +2099,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: object-store
|
- name: object-store
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
image: nextcloudci/php7.2:php7.2-12
|
||||||
commands:
|
commands:
|
||||||
- phpenmod xdebug
|
- phpenmod xdebug
|
||||||
- ./tests/drone-wait-objectstore.sh
|
- ./tests/drone-wait-objectstore.sh
|
||||||
|
@ -2212,7 +2130,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- name: object-store
|
- name: object-store
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
image: nextcloudci/php7.2:php7.2-12
|
||||||
commands:
|
commands:
|
||||||
- phpenmod xdebug
|
- phpenmod xdebug
|
||||||
- ./tests/drone-wait-objectstore.sh
|
- ./tests/drone-wait-objectstore.sh
|
||||||
|
@ -2334,34 +2252,34 @@ trigger:
|
||||||
- pull_request
|
- pull_request
|
||||||
- push
|
- push
|
||||||
|
|
||||||
---
|
#---
|
||||||
kind: pipeline
|
#kind: pipeline
|
||||||
name: memcache-redis-cluster
|
#name: memcache-redis-cluster
|
||||||
|
#
|
||||||
steps:
|
#steps:
|
||||||
- name: submodules
|
#- name: submodules
|
||||||
image: docker:git
|
# image: docker:git
|
||||||
commands:
|
# commands:
|
||||||
- git submodule update --init
|
# - git submodule update --init
|
||||||
- name: memcache-redis-cluster
|
#- name: memcache-redis-cluster
|
||||||
image: nextcloudci/php7.1:php7.1-16
|
# image: nextcloudci/php7.2:php7.2-12
|
||||||
commands:
|
# commands:
|
||||||
- phpenmod xdebug
|
# - phpenmod xdebug
|
||||||
- sleep 20
|
# - sleep 20
|
||||||
- ./autotest.sh sqlite tests/lib/Memcache/RedisTest.php
|
# - ENABLE_REDIS_CLUSTER=true ./autotest.sh sqlite tests/lib/Memcache/RedisTest.php
|
||||||
- wget https://codecov.io/bash -O codecov.sh
|
# - wget https://codecov.io/bash -O codecov.sh
|
||||||
- sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
|
# - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
|
||||||
- sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
|
# - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
|
||||||
|
#
|
||||||
services:
|
#services:
|
||||||
- name: cache-cluster
|
#- name: cache-cluster
|
||||||
image: morrisjobke/redis-cluster
|
# image: morrisjobke/redis-cluster
|
||||||
|
#
|
||||||
trigger:
|
#trigger:
|
||||||
branch:
|
# branch:
|
||||||
- master
|
# - master
|
||||||
- stable*
|
# - stable*
|
||||||
event:
|
# event:
|
||||||
- pull_request
|
# - pull_request
|
||||||
- push
|
# - push
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue