-
Notifications
You must be signed in to change notification settings - Fork 2
/
drupalci.yml
75 lines (75 loc) · 3.27 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# This is the DrupalCI testbot build file for CkeditorMentions module.
# https://www.drupal.org/drupalorg/docs/drupal-ci/customizing-drupalci-testing
build:
assessment:
validate_codebase:
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
testing:
# Install the colorbutton and panelbutton libraries.
container_command:
commands:
- "sudo apt-get update"
- "sudo apt-get install -y unzip"
- "cd ${SOURCE_DIR}"
- "sudo mkdir -p libraries/ckeditor/plugins"
- "sudo curl https://download.ckeditor.com/xml/releases/xml_4.14.1.zip --output xml.zip --silent"
- "sudo curl https://download.ckeditor.com/ajax/releases/ajax_4.14.1.zip --output ajax.zip --silent"
- "sudo curl https://download.ckeditor.com/textwatcher/releases/textwatcher_4.14.1.zip --output textwatcher.zip --silent"
- "sudo curl https://download.ckeditor.com/textmatch/releases/textmatch_4.14.1.zip --output textmatch.zip --silent"
- "sudo curl https://download.ckeditor.com/autocomplete/releases/autocomplete_4.14.1.zip --output autocomplete.zip --silent"
- "sudo curl https://download.ckeditor.com/mentions/releases/mentions_4.14.1.zip --output mentions.zip --silent"
- "sudo unzip xml.zip"
- "sudo unzip ajax.zip"
- "sudo unzip textwatcher.zip"
- "sudo unzip textmatch.zip"
- "sudo unzip autocomplete.zip"
- "sudo unzip mentions.zip"
- "sudo mv xml libraries/ckeditor/plugins/xml"
- "sudo mv ajax libraries/ckeditor/plugins/ajax"
- "sudo mv textwatcher libraries/ckeditor/plugins/textwatcher"
- "sudo mv textmatch libraries/ckeditor/plugins/textmatch"
- "sudo mv autocomplete libraries/ckeditor/plugins/autocomplete"
- "sudo mv mentions libraries/ckeditor/plugins/mentions"
halt-on-fail: true
# run_tests task is executed several times in order of performance speeds.
# halt-on-fail can be set on the run_tests tasks in order to fail fast.
# suppress-deprecations is false in order to be alerted to usages of
# deprecated code.
run_tests.phpunit:
types: 'PHPUnit-Unit'
testgroups: '--all'
suppress-deprecations: true
halt-on-fail: false
run_tests.kernel:
types: 'PHPUnit-Kernel'
testgroups: '--all'
suppress-deprecations: true
halt-on-fail: false
run_tests.build:
types: 'PHPUnit-Build'
testgroups: '--all'
suppress-deprecations: true
halt-on-fail: false
run_tests.functional:
types: 'PHPUnit-Functional'
testgroups: '--all'
suppress-deprecations: true
halt-on-fail: false
run_tests.javascript:
concurrency: 15
types: 'PHPUnit-FunctionalJavascript'
testgroups: '--all'
suppress-deprecations: true
halt-on-fail: false
# Run nightwatch testing.
# @see https://www.drupal.org/project/drupal/issues/2869825
nightwatchjs: