6
6
- $HOME/.npm
7
7
8
8
.steps :
9
- - &add-composer-bin-dir-to-path |
10
- export PATH="$PATH:$HOME/.composer/vendor/bin"
11
9
- &clear-test-app-cache |
12
10
tests/Fixtures/app/console cache:clear
13
11
- &disable-php-memory-limit |
@@ -33,13 +31,11 @@ cache:
33
31
34
32
jobs :
35
33
include :
36
- - name : ' (PHP 7.1)'
34
+ - name : ' Behat (PHP 7.1)'
37
35
php : ' 7.1'
38
36
before_install :
39
- - *enable-mongodb-php-extension
40
37
- *disable-xdebug-php-extension
41
38
- *disable-php-memory-limit
42
- - *add-composer-bin-dir-to-path
43
39
install :
44
40
- |
45
41
composer remove --dev --no-progress --no-update --ansi \
@@ -49,68 +45,91 @@ jobs:
49
45
before_script :
50
46
- *clear-test-app-cache
51
47
script :
52
- - *run-phpunit-tests
53
- - *clear-test-app-cache
54
48
- *run-behat-tests
55
49
- *validate-openapi-v2-json
56
50
- *validate-openapi-v2-yaml
57
51
- *validate-openapi-v3-json
58
52
- *validate-openapi-v3-yaml
59
53
60
- - name : ' (PHP 7.2)'
54
+ - name : ' Behat (PHP 7.2)'
61
55
php : ' 7.2'
62
56
before_install :
63
57
- *enable-mongodb-php-extension
64
58
- *disable-xdebug-php-extension
65
59
- *disable-php-memory-limit
66
- - *add-composer-bin-dir-to-path
67
60
install :
68
61
- *update-project-dependencies
69
62
before_script :
70
63
- *clear-test-app-cache
71
64
script :
72
- - *run-phpunit-tests
73
- - *clear-test-app-cache
74
65
- *run-behat-tests
75
66
- *validate-openapi-v2-json
76
67
- *validate-openapi-v2-yaml
77
68
- *validate-openapi-v3-json
78
69
- *validate-openapi-v3-yaml
79
70
80
- - name : ' (PHP 7.3)'
71
+ - name : ' Behat (PHP 7.3)'
81
72
php : ' 7.3'
82
73
before_install :
83
74
- *enable-mongodb-php-extension
84
75
- *disable-xdebug-php-extension
85
76
- *disable-php-memory-limit
86
- - *add-composer-bin-dir-to-path
87
77
install :
88
78
- *update-project-dependencies
89
79
before_script :
90
80
- *clear-test-app-cache
91
81
script :
92
- - *run-phpunit-tests
82
+ - *run-behat-tests
83
+ - *validate-openapi-v2-json
84
+ - *validate-openapi-v2-yaml
85
+ - *validate-openapi-v3-json
86
+ - *validate-openapi-v3-yaml
87
+
88
+ - name : ' Behat (PHP 7.4-rc)'
89
+ php : ' 7.4snapshot'
90
+ before_install :
91
+ - *enable-mongodb-php-extension
92
+ - *disable-xdebug-php-extension
93
+ - *disable-php-memory-limit
94
+ install :
95
+ - *update-project-dependencies
96
+ before_script :
93
97
- *clear-test-app-cache
98
+ script :
94
99
- *run-behat-tests
95
100
- *validate-openapi-v2-json
96
101
- *validate-openapi-v2-yaml
97
102
- *validate-openapi-v3-json
98
103
- *validate-openapi-v3-yaml
99
104
100
- - name : ' (PHP 7.3) (lowest dependencies)'
105
+ - name : ' Behat (PHP 7.3) (lowest dependencies)'
101
106
php : ' 7.3'
102
107
before_install :
103
108
- *enable-mongodb-php-extension
104
109
- *disable-xdebug-php-extension
105
110
- *disable-php-memory-limit
106
- - *add-composer-bin-dir-to-path
107
111
install :
108
112
- composer update --no-progress --no-suggest --prefer-stable --prefer-lowest --ansi
109
113
before_script :
110
114
- *clear-test-app-cache
111
115
script :
112
- - *run-phpunit-tests
116
+ - *run-behat-tests
117
+ - *validate-openapi-v2-json
118
+ - *validate-openapi-v2-yaml
119
+ - *validate-openapi-v3-json
120
+ - *validate-openapi-v3-yaml
121
+
122
+ - name : ' Behat (PHP 7.4-rc) (lowest dependencies)'
123
+ php : ' 7.4snapshot'
124
+ before_install :
125
+ - *enable-mongodb-php-extension
126
+ - *disable-xdebug-php-extension
127
+ - *disable-php-memory-limit
128
+ install :
129
+ - composer update --no-progress --no-suggest --prefer-stable --prefer-lowest --ansi
130
+ before_script :
113
131
- *clear-test-app-cache
132
+ script :
114
133
- *run-behat-tests
115
134
- *validate-openapi-v2-json
116
135
- *validate-openapi-v2-yaml
@@ -125,7 +144,6 @@ jobs:
125
144
- *enable-mongodb-php-extension
126
145
- *disable-xdebug-php-extension
127
146
- *disable-php-memory-limit
128
- - *add-composer-bin-dir-to-path
129
147
install :
130
148
- *update-project-dependencies
131
149
before_script :
@@ -148,7 +166,6 @@ jobs:
148
166
- *enable-mongodb-php-extension
149
167
- *disable-xdebug-php-extension
150
168
- *disable-php-memory-limit
151
- - *add-composer-bin-dir-to-path
152
169
install :
153
170
- *update-project-dependencies
154
171
before_script :
@@ -171,7 +188,6 @@ jobs:
171
188
- *enable-mongodb-php-extension
172
189
- *disable-xdebug-php-extension
173
190
- *disable-php-memory-limit
174
- - *add-composer-bin-dir-to-path
175
191
install :
176
192
- *update-project-dependencies
177
193
before_script :
@@ -197,7 +213,6 @@ jobs:
197
213
- *enable-mongodb-php-extension
198
214
- *disable-xdebug-php-extension
199
215
- *disable-php-memory-limit
200
- - *add-composer-bin-dir-to-path
201
216
install :
202
217
- *update-project-dependencies
203
218
before_script :
@@ -217,7 +232,6 @@ jobs:
217
232
- *enable-mongodb-php-extension
218
233
- *disable-xdebug-php-extension
219
234
- *disable-php-memory-limit
220
- - *add-composer-bin-dir-to-path
221
235
install :
222
236
- *update-project-dependencies
223
237
before_script :
0 commit comments