Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
Modify drone pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
micbar authored and IljaN committed Aug 28, 2019
1 parent 75da278 commit 7eee03a
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pipeline:
- make test-php-style
when:
matrix:
TEST_SUITE: phpunit
TEST_SUITE: owncloud-coding-standard

lint-test:
image: owncloudci/php:${PHP_VERSION}
Expand All @@ -94,7 +94,7 @@ pipeline:
- make test-php-lint
when:
matrix:
TEST_SUITE: phpunit
TEST_SUITE: lint-test

phpstan:
# phpstan requires php7.1
Expand All @@ -106,7 +106,7 @@ pipeline:
- make test-php-phpstan
when:
matrix:
TEST_SUITE: phpunit
TEST_SUITE: php-stan

phan:
# phan requires a recent php-ast extension
Expand All @@ -118,7 +118,7 @@ pipeline:
- make test-php-phan
when:
matrix:
TEST_SUITE: phpunit
TEST_SUITE: phan

phpunit-unit-tests:
image: owncloudci/php:${PHP_VERSION}
Expand All @@ -129,7 +129,6 @@ pipeline:
matrix:
TEST_SUITE: phpunit


phpunit-integration-tests:
image: owncloudci/php:${PHP_VERSION}
pull: true
Expand Down Expand Up @@ -254,7 +253,26 @@ services:

matrix:
include:
# unit tests
# owncloud-coding-standard
- PHP_VERSION: 7.2
TEST_SUITE: owncloud-coding-standard

# owncloud-coding-standard
- PHP_VERSION: 7.2
TEST_SUITE: lint-test

# php-stan
- PHP_VERSION: 7.1
TEST_SUITE: php-stan
NEED_SERVER: true
NEED_INSTALL_APP: true

# phan
- PHP_VERSION: 7.2
TEST_SUITE: phan
NEED_SERVER: true

# unit tests
- PHP_VERSION: 7.0
OC_VERSION: daily-master-qa
DB_TYPE: sqlite
Expand Down

0 comments on commit 7eee03a

Please sign in to comment.