Skip to content

Commit 0bcaf2c

Browse files
Merge branch 'master' into install-wp-tests-ignore-externals
2 parents 838b610 + 7b9e579 commit 0bcaf2c

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
sudo: false
2-
dist: trusty
2+
dist: xenial
33

44
language: php
55
php: 7.3
@@ -22,6 +22,9 @@ env:
2222
- PATH="$TRAVIS_BUILD_DIR/vendor/bin:$PATH"
2323
- WP_CLI_BIN_DIR="$TRAVIS_BUILD_DIR/vendor/bin"
2424

25+
services:
26+
- mysql
27+
2528
before_install:
2629
- |
2730
# Remove Xdebug for a huge performance increase:
@@ -75,8 +78,8 @@ jobs:
7578
php: 5.6
7679
env: WP_VERSION=trunk
7780
- stage: test
78-
php: 5.4
7981
dist: precise
82+
php: 5.4
8083
env: WP_VERSION=5.1
8184
allow_failures:
8285
- stage: test

features/scaffold.feature

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Feature: WordPress code scaffolding
4848
"""
4949
And the return code should be 1
5050

51+
@require-wp-4.6
5152
Scenario: Scaffold a child theme and network enable it
5253
Given a WP multisite install
5354

@@ -309,6 +310,7 @@ Feature: WordPress code scaffolding
309310
Plugin 'hello-world' activated.
310311
"""
311312
313+
@require-wp-4.6
312314
Scenario: Scaffold a plugin and network activate it
313315
Given a WP multisite install
314316
When I run `wp scaffold plugin hello-world --activate-network`
@@ -333,6 +335,7 @@ Feature: WordPress code scaffolding
333335
"""
334336
And the return code should be 1
335337
338+
@require-php-5.6
336339
Scenario: Scaffold starter code for a theme
337340
Given a WP install
338341
Given I run `wp theme path`
@@ -347,6 +350,7 @@ Feature: WordPress code scaffolding
347350
And the {THEME_DIR}/starter-theme/style.css file should exist
348351
And the {THEME_DIR}/starter-theme/.editorconfig file should exist
349352
353+
@require-php-5.6
350354
Scenario: Scaffold starter code for a theme with sass
351355
Given a WP install
352356
Given I run `wp theme path`
@@ -360,6 +364,7 @@ Feature: WordPress code scaffolding
360364
"""
361365
And the {THEME_DIR}/starter-theme/sass directory should exist
362366
367+
@require-php-5.6
363368
Scenario: Scaffold starter code for a WooCommerce theme
364369
Given a WP install
365370
Given I run `wp theme path`
@@ -374,6 +379,7 @@ Feature: WordPress code scaffolding
374379
And the {THEME_DIR}/starter-theme/woocommerce.css file should exist
375380
And the {THEME_DIR}/starter-theme/inc/woocommerce.php file should exist
376381
382+
@require-php-5.6
377383
Scenario: Scaffold starter code for a theme and activate it
378384
Given a WP install
379385
# Allow for warnings to be generated due to https://github.com/wp-cli/scaffold-command/issues/181
@@ -490,6 +496,7 @@ Feature: WordPress code scaffolding
490496
env: WP_VERSION=latest
491497
"""
492498
499+
@require-php-5.6 @require-wp-4.6
493500
Scenario: Scaffold starter code for a theme and network enable it
494501
Given a WP multisite install
495502
# Allow for warnings to be generated due to https://github.com/wp-cli/scaffold-command/issues/181
@@ -499,6 +506,7 @@ Feature: WordPress code scaffolding
499506
Success: Network enabled the 'Starter-theme' theme.
500507
"""
501508
509+
@require-php-5.6
502510
Scenario: Scaffold starter code for a theme, but can't unzip theme files
503511
Given a WP install
504512
And a misconfigured WP_CONTENT_DIR constant directory

0 commit comments

Comments
 (0)