TASK: Disable linting during setup

This commit is contained in:
Daniel Siepmann 2018-11-04 00:45:50 +01:00
parent b18bfe41d1
commit 4be31753c2
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -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