Skip to:
Content

BuddyPress.org

Changeset 12854 for trunk/.travis.yml


Ignore:
Timestamp:
03/02/2021 03:34:02 AM (5 years ago)
Author:
imath
Message:

Downgrade the PHPUnit Composer deps when running Travis PHP 5.6 tests

This move is needed to still be able to test BuddyPress against PHP 5.6 in Travis. This commit also adds a PHP 7.4 job.

Fixes #8381

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r12853 r12854  
    3939matrix:
    4040  include:
     41    - php: 7.4
     42      env: WP_VERSION=master BP_TRAVISCI=travis:phpunit
    4143    - php: 7.3
    4244      env: WP_VERSION=master BP_TRAVISCI=travis:grunt
     
    104106  - ln -s /tmp/node/node_modules $plugin_dir/node_modules
    105107  - npm install
     108  - if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then composer require --with-all-dependencies phpunit/phpunit:5.7.27; fi
     109  - if [[ ${TRAVIS_PHP_VERSION:0:3} != "5.6" ]]; then composer install; fi
    106110
    107111# Run tests
Note: See TracChangeset for help on using the changeset viewer.