WordPress.org

Make WordPress Core

Changeset 41303


Ignore:
Timestamp:
08/22/2017 05:28:53 PM (2 years ago)
Author:
johnbillion
Message:

Build/Test tools: Use the latest in the 4.x and 5.x branches of PHPUnit when running tests on Travis for the 4.0 branch.

See #41472

File:
1 edited

Legend:

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

    r41082 r41303  
    5353    case "$TRAVIS_PHP_VERSION" in
    5454      7.1|7.0|nightly)
    55         echo "Using PHPUnit 5.7"
    56         composer global require "phpunit/phpunit=5.7.*"
     55        echo "Using PHPUnit 5.x"
     56        composer global require "phpunit/phpunit:^5"
    5757        ;;
    5858      5.6|5.5|5.4|5.3)
    59         echo "Using PHPUnit 4.8"
    60         composer global require "phpunit/phpunit=4.8.*"
     59        echo "Using PHPUnit 4.x"
     60        composer global require "phpunit/phpunit:^4"
    6161        ;;
    6262      5.2)
Note: See TracChangeset for help on using the changeset viewer.