WordPress.org

Make WordPress Core

Ticket #41472: 41472.2.patch

File 41472.2.patch, 725 bytes (added by ayeshrajans, 2 years ago)

Please ignore my previous file. This one is newer and fixes the echo calls as well.

  • .travis.yml

    diff --git .travis.yml .travis.yml
    index 0139021317..d1d2dfa67f 100644
    before_script: 
    6565  if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
    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.2"
    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.8"
    7474        ;;
    7575      5.2)
    7676        # Do nothing, use default PHPUnit 3.6.x