-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdrupalci.yml
44 lines (44 loc) · 1.93 KB
/
drupalci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
build:
assessment:
validate_codebase:
container_command:
commands:
- cd ${SOURCE_DIR}
- rm composer.lock
- composer config minimum-stability dev
- composer config repositories.drupal composer https://packages.drupal.org/8
- composer config repositories.assets composer https://asset-packagist.org
- composer require oomphinc/composer-installers-extender:~2.0
- composer require cweagans/composer-patches:~1.0
- composer config extra.enable-patching true
- composer config extra.composer-exit-on-patch-failure true
- composer config --json extra.installer-types '["npm-asset", "bower-asset"]'
- composer config --unset extra.installer-paths.libraries\/\{\$name\}
- composer config --json extra.installer-paths.libraries\/\{\$name\} '["type:drupal-library", "type:bower-asset", "type:npm-asset"]'
- rm composer.lock
- composer require --dev phpspec/prophecy-phpunit:*
- composer require phpunit/phpunit:~9.0 --with-all-dependencies
- composer require bower-asset/chartjs:2.7.*
- composer require bower-asset/c3:0.7.*
- composer require bower-asset/d3:~5.0
- composer require npm-asset/imagesloaded:~4.0
- composer require drupal/vartheme_claro:~3.0
- cat composer.json
- ls -li ${SOURCE_DIR}/librariess
phplint: { }
csslint:
halt-on-fail: false
eslint:
# A test must pass eslinting standards check in order to continue processing.
halt-on-fail: false
phpcs:
# phpcs will use core's specified version of Coder.
sniff-all-files: false
halt-on-fail: false
phpstan:
halt-on-fail: false
testing:
run_tests.javascript:
types: 'PHPUnit-FunctionalJavascript'
testgroups: 'varbase_total_control'
suppress-deprecations: true