Make WordPress Core

Ticket #40548: 40548.diff

File 40548.diff, 7.8 KB (added by netweb, 7 years ago)
  • branches/4.0/.travis.yml

     
    3434# Before script, failures in this section will result in build status 'failed'
    3535before_script:
    3636- |
    37   # Remove Xdebug for a huge performance increase, but not from nightly or hhvm:
     37  # Remove Xdebug for a huge performance increase, but not from nightly:
    3838  stable='^[0-9\.]+$'
    3939  if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then
    4040    phpenv config-rm xdebug.ini
     
    4949  # Install the specified version of PHPUnit depending on the PHP version:
    5050  if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
    5151    case "$TRAVIS_PHP_VERSION" in
    52       7.1|7.0|hhvm|nightly)
     52      7.1|7.0|nightly)
    5353        echo "Using PHPUnit 5.7"
    5454        composer global require "phpunit/phpunit=5.7.*"
    5555        ;;
     
    7474- npm install
    7575- npm prune
    7676- php --version
    77 - |
    78   # Debug PHP extensions, but not on HHVM because the command hangs indefinitely:
    79   if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then
    80     php -m
    81   fi
     77- php -m
    8278- npm --version
    8379- node --version
    8480- which phpunit
  • branches/4.1/.travis.yml

     
    3434# Before script, failures in this section will result in build status 'failed'
    3535before_script:
    3636- |
    37   # Remove Xdebug for a huge performance increase, but not from nightly or hhvm:
     37  # Remove Xdebug for a huge performance increase, but not from nightly:
    3838  stable='^[0-9\.]+$'
    3939  if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then
    4040    phpenv config-rm xdebug.ini
     
    4949  # Install the specified version of PHPUnit depending on the PHP version:
    5050  if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
    5151    case "$TRAVIS_PHP_VERSION" in
    52       7.1|7.0|hhvm|nightly)
     52      7.1|7.0|nightly)
    5353        echo "Using PHPUnit 5.7"
    5454        composer global require "phpunit/phpunit=5.7.*"
    5555        ;;
     
    7474- npm install
    7575- npm prune
    7676- php --version
    77 - |
    78   # Debug PHP extensions, but not on HHVM because the command hangs indefinitely:
    79   if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then
    80     php -m
    81   fi
     77- php -m
    8278- npm --version
    8379- node --version
    8480- which phpunit
  • branches/4.2/.travis.yml

     
    2727  fi
    2828before_script:
    2929- |
    30   # Remove Xdebug for a huge performance increase, but not from nightly or hhvm:
     30  # Remove Xdebug for a huge performance increase, but not from nightly:
    3131  stable='^[0-9\.]+$'
    3232  if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then
    3333    phpenv config-rm xdebug.ini
     
    4242  # Install the specified version of PHPUnit depending on the PHP version:
    4343  if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
    4444    case "$TRAVIS_PHP_VERSION" in
    45       7.1|7.0|hhvm|nightly)
     45      7.1|7.0|nightly)
    4646        echo "Using PHPUnit 5.7"
    4747        composer global require "phpunit/phpunit=5.7.*"
    4848        ;;
     
    6767- npm install
    6868- npm prune
    6969- php --version
    70 - |
    71   # Debug PHP extensions, but not on HHVM because the command hangs indefinitely:
    72   if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then
    73     php -m
    74   fi
     70- php -m
    7571- npm --version
    7672- node --version
    7773- which phpunit
  • branches/4.3/.travis.yml

     
    2727  fi
    2828before_script:
    2929- |
    30   # Remove Xdebug for a huge performance increase, but not from nightly or hhvm:
     30  # Remove Xdebug for a huge performance increase, but not from nightly:
    3131  stable='^[0-9\.]+$'
    3232  if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then
    3333    phpenv config-rm xdebug.ini
     
    4242  # Install the specified version of PHPUnit depending on the PHP version:
    4343  if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
    4444    case "$TRAVIS_PHP_VERSION" in
    45       7.1|7.0|hhvm|nightly)
     45      7.1|7.0|nightly)
    4646        echo "Using PHPUnit 5.7"
    4747        composer global require "phpunit/phpunit=5.7.*"
    4848        ;;
     
    6767- npm install
    6868- npm prune
    6969- php --version
    70 - |
    71   # Debug PHP extensions, but not on HHVM because the command hangs indefinitely:
    72   if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then
    73     php -m
    74   fi
     70- php -m
    7571- npm --version
    7672- node --version
    7773- which phpunit
  • branches/4.4/.travis.yml

     
    3737  fi
    3838before_script:
    3939- |
    40   # Remove Xdebug for a huge performance increase, but not from nightly or hhvm:
     40  # Remove Xdebug for a huge performance increase, but not from nightly:
    4141  stable='^[0-9\.]+$'
    4242  if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then
    4343    phpenv config-rm xdebug.ini
     
    5252  # Install the specified version of PHPUnit depending on the PHP version:
    5353  if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
    5454    case "$TRAVIS_PHP_VERSION" in
    55       7.1|7.0|hhvm|nightly)
     55      7.1|7.0|nightly)
    5656        echo "Using PHPUnit 5.7"
    5757        composer global require "phpunit/phpunit=5.7.*"
    5858        ;;
     
    7777- npm install
    7878- npm prune
    7979- php --version
    80 - |
    81   # Debug PHP extensions, but not on HHVM because the command hangs indefinitely:
    82   if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then
    83     php -m
    84   fi
     80- php -m
    8581- npm --version
    8682- node --version
    8783- which phpunit
  • branches/4.5/.travis.yml

     
    3737  fi
    3838before_script:
    3939- |
    40   # Remove Xdebug for a huge performance increase, but not from nightly or hhvm:
     40  # Remove Xdebug for a huge performance increase, but not from nightly:
    4141  stable='^[0-9\.]+$'
    4242  if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then
    4343    phpenv config-rm xdebug.ini
     
    5252  # Install the specified version of PHPUnit depending on the PHP version:
    5353  if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
    5454    case "$TRAVIS_PHP_VERSION" in
    55       7.1|7.0|hhvm|nightly)
     55      7.1|7.0|nightly)
    5656        echo "Using PHPUnit 5.7"
    5757        composer global require "phpunit/phpunit=5.7.*"
    5858        ;;
     
    7979- mysql --version
    8080- phpenv versions
    8181- php --version
    82 - |
    83   # Debug PHP extensions, but not on HHVM because the command hangs indefinitely:
    84   if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then
    85     php -m
    86   fi
     82- php -m
    8783- npm --version
    8884- node --version
    8985- which phpunit
  • branches/4.6/.travis.yml

     
    3737  fi
    3838before_script:
    3939- |
    40   # Remove Xdebug for a huge performance increase, but not from nightly or hhvm:
     40  # Remove Xdebug for a huge performance increase, but not from nightly:
    4141  stable='^[0-9\.]+$'
    4242  if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then
    4343    phpenv config-rm xdebug.ini
     
    5252  # Install the specified version of PHPUnit depending on the PHP version:
    5353  if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
    5454    case "$TRAVIS_PHP_VERSION" in
    55       7.1|7.0|hhvm|nightly)
     55      7.1|7.0|nightly)
    5656        echo "Using PHPUnit 5.7"
    5757        composer global require "phpunit/phpunit=5.7.*"
    5858        ;;
     
    7979- mysql --version
    8080- phpenv versions
    8181- php --version
    82 - |
    83   # Debug PHP extensions, but not on HHVM because the command hangs indefinitely:
    84   if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then
    85     php -m
    86   fi
     82- php -m
    8783- npm --version
    8884- node --version
    8985- which phpunit