Skip to content
Snippets Groups Projects
Commit ea151ada authored by Eirik Morland's avatar Eirik Morland
Browse files

Issue #3414609 by eiriksm: Use a more standard gitlab CI setup

parent 40ac9e18
No related branches found
No related tags found
1 merge request!24Update .gitlab-ci.yml
Pipeline #77062 passed
......@@ -48,24 +48,9 @@ include:
################
variables:
SKIP_ESLINT: '1'
_TARGET_CORE: '^9'
_TARGET_PHP: "7.4"
phpstan:
stage: validate
script:
- composer require --dev mglaman/phpstan-drupal phpstan/extension-installer
- vendor/bin/phpstan analyse --level=2 $_WEB_ROOT/modules/custom
allow_failure: false
artifacts:
expose_as: junit
expire_in: 6 mos
when: always
paths:
- junit.xml
reports:
junit: junit.xml
OPT_IN_TEST_MAX_PHP: '1'
OPT_IN_TEST_NEXT_MINOR: '1'
OPT_IN_TEST_PREVIOUS_MINOR: '1'
###################################################################################
#
......
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