Skip to content
Snippets Groups Projects
Commit 084b09fe authored by Alvaro Martinez's avatar Alvaro Martinez
Browse files

Add .gitlab-ci.yml

parent 9de59846
No related branches found
No related tags found
No related merge requests found
Pipeline #263048 failed
stages:
- test
# Regarding severity=0 https://git.app.uib.no/it/site/w4.uib.no/-/issues/590
php-compatibility-83:
stage: test
image: registry.gitlab.com/pipeline-components/php-codesniffer:latest
variables:
PHPVERSION: "8.3"
script:
- >-
phpcs -s -p --colors
--standard=PHPCompatibility
--severity=0
--extensions=php
--runtime-set testVersion ${PHPVERSION} .
drupal-code-standard:
stage: test
image: registry.gitlab.com/pipeline-components/php-codesniffer:latest
script:
- cd /app
- composer require drupal/coder
- composer show -P
- cd /
- >-
phpcs
-s -p --colors
--standard=Drupal
--extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml
--runtime-set ignore_warnings_on_exit 1
/builds/it/lib/drupal/modules/uib-common-ui/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment