@@ -124,9 +124,10 @@ Feature: Scaffold the test suite for an existing package
124
124
"""
125
125
- MY_APPEND_ENV="my-append-env"
126
126
"""
127
- And a community-command/travis-matrix -append.yml file:
127
+ And a community-command/travis-jobs -append.yml file:
128
128
"""
129
- - php: 99.97
129
+ - stage: test
130
+ php: 99.97
130
131
env: WP_VERSION=9997.9997
131
132
"""
132
133
And a community-command/travis-before_install-append.yml file:
@@ -138,10 +139,6 @@ Feature: Scaffold the test suite for an existing package
138
139
"""
139
140
- bash bin/my-append-install.sh
140
141
"""
141
- And a community-command/travis-before_script-append.yml file:
142
- """
143
- - bash bin/my-append-before_script.sh
144
- """
145
142
And a community-command/travis-script-append.yml file:
146
143
"""
147
144
- bash bin/my-append-script.sh
@@ -176,15 +173,16 @@ Feature: Scaffold the test suite for an existing package
176
173
"""
177
174
- MY_APPEND_ENV="my-append-env"
178
175
179
- matrix :
176
+ before_install :
180
177
"""
181
178
And the community-command/.travis.yml file should contain:
182
179
"""
183
- - php: 7.2
180
+ - php: 7.4
184
181
"""
185
182
And the community-command/.travis.yml file should contain:
186
183
"""
187
- - php: 99.97
184
+ - stage: test
185
+ php: 99.97
188
186
env: WP_VERSION=9997.9997
189
187
190
188
before_install:
@@ -208,18 +206,12 @@ Feature: Scaffold the test suite for an existing package
208
206
"""
209
207
- bash bin/my-append-install.sh
210
208
211
- before_script :
209
+ script :
212
210
"""
213
211
And the community-command/.travis.yml file should contain:
214
212
"""
215
213
- composer validate
216
214
"""
217
- And the community-command/.travis.yml file should contain:
218
- """
219
- - bash bin/my-append-before_script.sh
220
-
221
- script:
222
- """
223
215
And the community-command/.travis.yml file should contain:
224
216
"""
225
217
- composer behat || composer behat-rerun
0 commit comments