TASK: Disable linting during setup
This commit is contained in:
parent
b18bfe41d1
commit
4be31753c2
1 changed files with 0 additions and 24 deletions
|
@ -1,31 +1,7 @@
|
||||||
stages:
|
stages:
|
||||||
- lint
|
|
||||||
- setup
|
- setup
|
||||||
- test
|
- test
|
||||||
|
|
||||||
lint:php7.2:
|
|
||||||
image: php:7.2-alpine
|
|
||||||
stage: lint
|
|
||||||
before_script:
|
|
||||||
- apk --no-cache add parallel
|
|
||||||
script:
|
|
||||||
- find localPackages/ -name \*.php | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \;
|
|
||||||
|
|
||||||
lint:xml:
|
|
||||||
image: alpine:3.7
|
|
||||||
stage: lint
|
|
||||||
before_script:
|
|
||||||
- apk --no-cache add libxml2-utils
|
|
||||||
- wget https://raw.githubusercontent.com/symfony/translation/v4.1.1/Resources/schemas/xliff-core-1.2-strict.xsd
|
|
||||||
script:
|
|
||||||
- xmllint --schema xliff-core-1.2-strict.xsd --noout $(find localPackages -name '*.xlf')
|
|
||||||
|
|
||||||
lint:composer:
|
|
||||||
image: composer:latest
|
|
||||||
stage: lint
|
|
||||||
script:
|
|
||||||
- composer validate --no-check-publish --no-check-all
|
|
||||||
|
|
||||||
setup:composer:
|
setup:composer:
|
||||||
image: composer:latest
|
image: composer:latest
|
||||||
stage: setup
|
stage: setup
|
||||||
|
|
Loading…
Reference in a new issue