WordPress.org

Make WordPress Core

Changeset 41177


Ignore:
Timestamp:
07/27/2017 09:31:40 PM (4 years ago)
Author:
johnbillion
Message:

Build/Test Tools: More PHP 7.2 tweaks for Travis CI.

See #40109

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r41175 r41177  
    1515  - php: 7.1
    1616    env: WP_TRAVISCI=travis:js
     17  - php: 7.2
    1718  - php: 7.1
    18   - php: 7.2
    1919  - php: 7.0
    2020  - php: 5.6
     
    4949before_script:
    5050- |
    51   # Remove Xdebug for a huge performance increase, but not from nightly:
    52   stable='^[0-9\.]+$'
    53   if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then
     51  # Remove Xdebug for a huge performance increase:
     52  if [ -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]; then
    5453    phpenv config-rm xdebug.ini
     54  else
     55    echo "xdebug.ini does not exist"
    5556  fi
    5657- |
     
    6465  if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
    6566    case "$TRAVIS_PHP_VERSION" in
    66       7.1|7.0|nightly)
     67      7.2|7.1|7.0|nightly)
    6768        echo "Using PHPUnit 6.1"
    6869        composer global require "phpunit/phpunit=6.1.*"
Note: See TracChangeset for help on using the changeset viewer.