mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-26 12:16:14 +01:00

[TASK] Rework gitlab ci dependencies (#109)

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
This commit is contained in:
Łukasz Uznański 2020-09-22 22:29:38 +02:00 committed by GitHub
parent 367066ca97
commit c8d2cf9849
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,8 @@
--- ---
stages: stages:
- build - build
- code_quality
- lint - lint
- codestyle
- test - test
include: include:
@ -33,13 +33,6 @@ build-composer-dependencies:
- .composer - .composer
- .Build - .Build
phpcs:
stage: code_quality
needs:
- build-composer-dependencies
script:
- composer ci:php:sniff
php-lint-php7.2: php-lint-php7.2:
image: php:7.2 image: php:7.2
stage: lint stage: lint
@ -91,6 +84,16 @@ xliff-lint:
- xmllint --schema ./xliff-core-1.2-strict.xsd - xmllint --schema ./xliff-core-1.2-strict.xsd
--noout $(find Resources -name '*.xlf') --noout $(find Resources -name '*.xlf')
phpcs:
stage: codestyle
needs:
- build-composer-dependencies
- php-lint-php7.2
- php-lint-php7.3
- php-lint-php7.4
script:
- composer ci:php:sniff
code_quality: code_quality:
before_script: [] before_script: []