Skip to content
Snippets Groups Projects

Issue #3406263: Add Gitlab CI

Closed Vladimir Roudakov requested to merge issue/rules-3406263:3406263-add-gitlab-ci into 7.x-2.x
1 file
+ 26
0
Compare changes
  • Side-by-side
  • Inline
.gitlab-ci.yml 0 → 100644
+ 26
0
include:
- project: $_GITLAB_TEMPLATES_REPO
ref: $_GITLAB_TEMPLATES_REF
file:
- '/includes/include.drupalci.main.yml'
- '/includes/include.drupalci.variables.yml'
- '/includes/include.drupalci.workflows.yml'
variables:
SKIP_ESLINT: '1'
phpcs:
allow_failure: false
phpstan:
stage: validate
rules:
- if: '$SKIP_PHPSTAN == "1"'
when: never
- when: on_success
artifacts:
when: always
reports:
codequality: phpstan-report.json
script:
- vendor/bin/phpstan analyze --memory-limit=2G --no-interaction --no-progress --error-format=gitlab $_WEB_ROOT/modules/custom | tee phpstan-report.json
Loading