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,93 @@ 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
+ env : LEGACY=0
91
+ before_install :
92
+ - *enable-mongodb-php-extension
93
+ - *disable-xdebug-php-extension
94
+ - *disable-php-memory-limit
95
+ install :
96
+ - *update-project-dependencies
97
+ before_script :
93
98
- *clear-test-app-cache
99
+ script :
94
100
- *run-behat-tests
95
101
- *validate-openapi-v2-json
96
102
- *validate-openapi-v2-yaml
97
103
- *validate-openapi-v3-json
98
104
- *validate-openapi-v3-yaml
99
105
100
- - name : ' (PHP 7.3) (lowest dependencies)'
106
+ - name : ' Behat (PHP 7.3) (lowest dependencies)'
101
107
php : ' 7.3'
102
108
before_install :
103
109
- *enable-mongodb-php-extension
104
110
- *disable-xdebug-php-extension
105
111
- *disable-php-memory-limit
106
- - *add-composer-bin-dir-to-path
107
112
install :
108
113
- composer update --no-progress --no-suggest --prefer-stable --prefer-lowest --ansi
109
114
before_script :
110
115
- *clear-test-app-cache
111
116
script :
112
- - *run-phpunit-tests
117
+ - *run-behat-tests
118
+ - *validate-openapi-v2-json
119
+ - *validate-openapi-v2-yaml
120
+ - *validate-openapi-v3-json
121
+ - *validate-openapi-v3-yaml
122
+
123
+ - name : ' Behat (PHP 7.4-rc) (lowest dependencies)'
124
+ php : ' 7.4snapshot'
125
+ env : LEGACY=0
126
+ before_install :
127
+ - *enable-mongodb-php-extension
128
+ - *disable-xdebug-php-extension
129
+ - *disable-php-memory-limit
130
+ install :
131
+ - composer update --no-progress --no-suggest --prefer-stable --prefer-lowest --ansi
132
+ before_script :
113
133
- *clear-test-app-cache
134
+ script :
114
135
- *run-behat-tests
115
136
- *validate-openapi-v2-json
116
137
- *validate-openapi-v2-yaml
@@ -125,7 +146,6 @@ jobs:
125
146
- *enable-mongodb-php-extension
126
147
- *disable-xdebug-php-extension
127
148
- *disable-php-memory-limit
128
- - *add-composer-bin-dir-to-path
129
149
install :
130
150
- *update-project-dependencies
131
151
before_script :
@@ -148,7 +168,6 @@ jobs:
148
168
- *enable-mongodb-php-extension
149
169
- *disable-xdebug-php-extension
150
170
- *disable-php-memory-limit
151
- - *add-composer-bin-dir-to-path
152
171
install :
153
172
- *update-project-dependencies
154
173
before_script :
@@ -171,7 +190,6 @@ jobs:
171
190
- *enable-mongodb-php-extension
172
191
- *disable-xdebug-php-extension
173
192
- *disable-php-memory-limit
174
- - *add-composer-bin-dir-to-path
175
193
install :
176
194
- *update-project-dependencies
177
195
before_script :
@@ -197,7 +215,6 @@ jobs:
197
215
- *enable-mongodb-php-extension
198
216
- *disable-xdebug-php-extension
199
217
- *disable-php-memory-limit
200
- - *add-composer-bin-dir-to-path
201
218
install :
202
219
- *update-project-dependencies
203
220
before_script :
@@ -217,7 +234,6 @@ jobs:
217
234
- *enable-mongodb-php-extension
218
235
- *disable-xdebug-php-extension
219
236
- *disable-php-memory-limit
220
- - *add-composer-bin-dir-to-path
221
237
install :
222
238
- *update-project-dependencies
223
239
before_script :
0 commit comments