diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-07-14 17:22:47 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2017-07-14 17:25:34 +0300 |
commit | 4a76bcdc9b77b9fdfdf062a4fea6aef1ff1ae6d7 (patch) | |
tree | 155ca1014262df6aaba5d065d3e42e52bc709f5e /.drone.yml | |
parent | 8f59a89ea4f02b30f0aa178bd76bd15e48869f6e (diff) |
Enforce linting
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 00000000..bff5f0a7 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,26 @@ +pipeline: + clone: + image: plugins/git + depth: 1 + + syntax-php7.0: + image: nextcloudci/php7.0:php7.0-7 + commands: + - composer install + - ./vendor/bin/parallel-lint --exclude vendor/ . + when: + matrix: + TESTS: syntax-php7.0 + syntax-php7.1: + image: nextcloudci/php7.1:php7.1-11 + commands: + - composer install + - ./vendor/bin/parallel-lint --exclude vendor/ . + when: + matrix: + TESTS: syntax-php7.1 + +matrix: + include: + - TESTS: syntax-php7.0 + - TESTS: syntax-php7.1
\ No newline at end of file |