Make WordPress Core

Changeset 41294


Ignore:
Timestamp:
08/22/2017 04:08:33 PM (8 years ago)
Author:
johnbillion
Message:

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

Props netweb, ayeshrajans

Fixes #41472

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r41177 r41294  
    6666    case "$TRAVIS_PHP_VERSION" in
    6767      7.2|7.1|7.0|nightly)
    68         echo "Using PHPUnit 6.1"
    69         composer global require "phpunit/phpunit=6.1.*"
     68        echo "Using PHPUnit 6.x"
     69        composer global require "phpunit/phpunit:^6"
    7070        ;;
    7171      5.6|5.5|5.4|5.3)
    72         echo "Using PHPUnit 4.8"
    73         composer global require "phpunit/phpunit=4.8.*"
     72        echo "Using PHPUnit 4.x"
     73        composer global require "phpunit/phpunit:^4"
    7474        ;;
    7575      5.2)
Note: See TracChangeset for help on using the changeset viewer.