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>2019-01-10 12:21:41 +0300
committerJoas Schilling <coding@schilljs.com>2019-01-10 12:21:41 +0300
commitf65463f715b7f322428e3fe63348e5f8f52f1e5c (patch)
tree654052b230dc922f6e90b9d02b546fcf092054d9 /.drone.yml
parent9c56e0d3ae20f2a6c40c3312695977d74aafee88 (diff)
Update testing matrix
- php7.0 is no longer supported on master - php7.3 is now supported on master Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml49
1 files changed, 33 insertions, 16 deletions
diff --git a/.drone.yml b/.drone.yml
index 184f6943f..a6c65c570 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -14,7 +14,7 @@ pipeline:
matrix:
TESTS: stylelint
check-app-compatbility:
- image: nextcloudci/php7.0:php7.0-19
+ image: nextcloudci/php7.3:php7.3-1
environment:
- APP_NAME=spreed
- CORE_BRANCH=master
@@ -39,8 +39,24 @@ pipeline:
when:
matrix:
TESTS: handlebars
- syntax-php7.0:
- image: nextcloudci/php7.0:php7.0-19
+ syntax-php7.1:
+ image: nextcloudci/php7.1:php7.1-16
+ environment:
+ - APP_NAME=spreed
+ - CORE_BRANCH=master
+ - DB=sqlite
+ commands:
+ # Pre-setup steps
+ - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
+ - bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
+ - cd ../server
+ - composer install
+ - ./lib/composer/bin/parallel-lint apps/$APP_NAME/
+ when:
+ matrix:
+ TESTS: syntax-php7.1
+ syntax-php7.3:
+ image: nextcloudci/php7.3:php7.3-1
environment:
- APP_NAME=spreed
- CORE_BRANCH=master
@@ -54,9 +70,9 @@ pipeline:
- ./lib/composer/bin/parallel-lint apps/$APP_NAME/
when:
matrix:
- TESTS: syntax-php7.0
+ TESTS: syntax-php7.3
signed-off-check:
- image: nextcloudci/php7.0:php7.0-19
+ image: nextcloudci/php7.3:php7.3-1
environment:
- APP_NAME=spreed
- CORE_BRANCH=master
@@ -71,8 +87,8 @@ pipeline:
when:
matrix:
TESTS: signed-off-check
- php7.0:
- image: nextcloudci/php7.0:php7.0-19
+ php7.1:
+ image: nextcloudci/php7.1:php7.1-16
environment:
- APP_NAME=spreed
- CORE_BRANCH=master
@@ -90,9 +106,9 @@ pipeline:
- phpunit --configuration phpunit.xml
when:
matrix:
- TESTS: php7.0
- php7.1:
- image: nextcloudci/php7.1:php7.1-16
+ TESTS: php7.1
+ php7.2:
+ image: nextcloudci/php7.2:php7.2-12
environment:
- APP_NAME=spreed
- CORE_BRANCH=master
@@ -110,9 +126,9 @@ pipeline:
- phpunit --configuration phpunit.xml
when:
matrix:
- TESTS: php7.1
- php7.2:
- image: nextcloudci/php7.2:php7.2-12
+ TESTS: php7.2
+ php7.3:
+ image: nextcloudci/php7.3:php7.3-1
environment:
- APP_NAME=spreed
- CORE_BRANCH=master
@@ -130,7 +146,7 @@ pipeline:
- phpunit --configuration phpunit.xml
when:
matrix:
- TESTS: php7.2
+ TESTS: php7.3
php7.1-integration:
image: nextcloudci/php7.1:php7.1-16
environment:
@@ -185,13 +201,14 @@ matrix:
- TESTS: stylelint
- TESTS: check-app-compatbility
- TESTS: handlebars
- - TESTS: syntax-php7.0
+ - TESTS: syntax-php7.1
+ - TESTS: syntax-php7.3
- TESTS: signed-off-check
# Unit tests
- - TESTS: php7.0
- TESTS: php7.1
- TESTS: php7.2
+ - TESTS: php7.3
- TESTS: jsunit
# Integration tests sqlite