@ -40,28 +40,28 @@ matrix:
include:
- name : Internationalization
php : 7.3
env : WP_MODE=single WP_VERSION=5. 4 .* I18N=1
env : WP_MODE=single WP_VERSION=5. 6 .* I18N=1
- name : Coding Standards
php : 7.3
env : WP_MODE=single WP_VERSION=5. 4 .* PHP_LINT=1 COVERAGE=1
env : WP_MODE=single WP_VERSION=5. 6 .* PHP_LINT=1 COVERAGE=1
- name : Static Code Analysis
php : 7.3
env : WP_MODE=single WP_VERSION=5. 4 .* PHP_ANALYZE=1
env : WP_MODE=single WP_VERSION=5. 6 .* PHP_ANALYZE=1
- name : Latest Stable
php : 7.3
env : WP_MODE=single WP_VERSION=5. 4 .* PHP_UNIT=1
env : WP_MODE=single WP_VERSION=5. 6 .* PHP_UNIT=1
- name : Preferred Minimum requirements
php : 7.2
env : WP_MODE=single WP_VERSION=5. 3 .* PHP_UNIT=1
env : WP_MODE=single WP_VERSION=5. 4 .* PHP_UNIT=1
- name : Minimum requirements
php : 7.1
env : WP_MODE=single WP_VERSION=5. 2 .* PHP_UNIT=1
env : WP_MODE=single WP_VERSION=5. 3 .* PHP_UNIT=1
- name : Bleeding Edge
php : 7.4
env : WP_MODE=single WP_VERSION=dev-master PHP_UNIT=1
- name : Multisite Compatibility
php : 7.3
env : WP_MODE=multi WP_VERSION=5. 4 .* PHP_UNIT=1
env : WP_MODE=multi WP_VERSION=5. 6 .* PHP_UNIT=1
allow_failures:
- name : Bleeding Edge
@ -70,13 +70,16 @@ addons:
packages:
- nodejs
# We need to make sure we stick with Composer 1.x for compatibility.
before_install:
- npm install -g npm@6.14
- npm install -g grunt-cli
- composer self-update --1
- composer require "wordpress/wordpress:${WP_VERSION}" --dev --prefer-source --no-update
install:
- composer update --prefer-source --no-interaction --optimize-autoloader
- composer update "wordpress/wordpress" --prefer-source --no-interaction --optimize-autoloader
- composer install
- npm install
before_script: