WordPress.org

Make WordPress Core

Changeset 47336


Ignore:
Timestamp:
02/21/2020 10:46:06 AM (7 months ago)
Author:
SergeyBiryukov
Message:

Build/Test Tools: Display PHPUnit information for PHP tests only (for 5.2 branch).

This avoids a build error on travis:format job, caused by Travis running PHPUnit 9.x by default, which requires PHP 7.3+.

See #49485.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2/.travis.yml

    r46406 r47336  
    9494- npm --version
    9595- node --version
    96 - which phpunit
    97 - phpunit --version
     96- |
     97  # Display PHPUnit information (for PHP tests only).
     98  if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
     99    which phpunit
     100    phpunit --version
     101  fi
    98102- curl --version
    99103- grunt --version
Note: See TracChangeset for help on using the changeset viewer.