Skip to:
Content

BuddyPress.org

Changeset 12855


Ignore:
Timestamp:
03/02/2021 04:29:17 AM (4 years ago)
Author:
imath
Message:

Travis : only test BuddyPress against WP < 5.1 with PHP 5.6

PHPUnit 7 WordPress support was introduced in WordPress 5.1. For older versions of WordPress (4.9 & 5.0), let's use the specific before_script we're using to downgrade Composer PHPUnit dependency to its 5.7.27 version to be able to test PHP 5.6.

See #8381

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r12854 r12855  
    3434  - WP_VERSION=5.2 BP_TRAVISCI=travis:phpunit
    3535  - WP_VERSION=5.1 BP_TRAVISCI=travis:phpunit
    36   - WP_VERSION=5.0 BP_TRAVISCI=travis:phpunit
    37   - WP_VERSION=4.9 BP_TRAVISCI=travis:phpunit
    3836
    3937matrix:
     
    4745    - php: 5.6
    4846      env: WP_VERSION=4.9 BP_TRAVISCI=travis:phpunit
    49   exclude:
    50     - php: 7.2
    51       env: WP_VERSION=4.9 BP_TRAVISCI=travis:phpunit
    52     - php: 7.3
    53       env: WP_VERSION=4.9 BP_TRAVISCI=travis:phpunit
     47    - php: 5.6
     48      env: WP_VERSION=5.0 BP_TRAVISCI=travis:phpunit
    5449
    5550# before_install: Failures in this section will result in build status 'errored'
  • trunk/package.json

    r12852 r12855  
    3737    },
    3838    "engines": {
    39         "node": "12.16.0",
    40         "npm": "6.14.0"
     39        "node": ">=14.15.0",
     40        "npm": ">=6.14.8"
    4141    },
    4242    "scripts": {
Note: See TracChangeset for help on using the changeset viewer.