Skip to content

Commit 6cd4069

Browse files
committed
Fix Travis merge tests
1 parent 80b8f49 commit 6cd4069

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

features/scaffold-package-tests.feature

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,10 @@ Feature: Scaffold the test suite for an existing package
124124
"""
125125
- MY_APPEND_ENV="my-append-env"
126126
"""
127-
And a community-command/travis-matrix-append.yml file:
127+
And a community-command/travis-jobs-append.yml file:
128128
"""
129-
- php: 99.97
129+
- stage: test
130+
php: 99.97
130131
env: WP_VERSION=9997.9997
131132
"""
132133
And a community-command/travis-before_install-append.yml file:
@@ -138,10 +139,6 @@ Feature: Scaffold the test suite for an existing package
138139
"""
139140
- bash bin/my-append-install.sh
140141
"""
141-
And a community-command/travis-before_script-append.yml file:
142-
"""
143-
- bash bin/my-append-before_script.sh
144-
"""
145142
And a community-command/travis-script-append.yml file:
146143
"""
147144
- bash bin/my-append-script.sh
@@ -176,15 +173,16 @@ Feature: Scaffold the test suite for an existing package
176173
"""
177174
- MY_APPEND_ENV="my-append-env"
178175
179-
matrix:
176+
before_install:
180177
"""
181178
And the community-command/.travis.yml file should contain:
182179
"""
183-
- php: 7.2
180+
- php: 7.4
184181
"""
185182
And the community-command/.travis.yml file should contain:
186183
"""
187-
- php: 99.97
184+
- stage: test
185+
php: 99.97
188186
env: WP_VERSION=9997.9997
189187
190188
before_install:
@@ -208,18 +206,12 @@ Feature: Scaffold the test suite for an existing package
208206
"""
209207
- bash bin/my-append-install.sh
210208
211-
before_script:
209+
script:
212210
"""
213211
And the community-command/.travis.yml file should contain:
214212
"""
215213
- composer validate
216214
"""
217-
And the community-command/.travis.yml file should contain:
218-
"""
219-
- bash bin/my-append-before_script.sh
220-
221-
script:
222-
"""
223215
And the community-command/.travis.yml file should contain:
224216
"""
225217
- composer behat || composer behat-rerun

0 commit comments

Comments
 (0)