Skip to:
Content

BuddyPress.org

Changeset 11652


Ignore:
Timestamp:
07/28/2017 08:00:08 AM (7 years ago)
Author:
netweb
Message:

Build Tools: Check for existence xdebug.ini using phpenv for Travis CI

This changeset is a follow up to [11649] where XDebug wasn't being detected correctly for the PHP 7.2 and 7.3 jobs

See #7574.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r11649 r11652  
    7878  - cd ..
    7979  - mv $plugin_slug $plugin_dir
    80   # Disable xdebug if not running codecoverage.
    81   - if [[ "$BP_TRAVISCI" != "travis:codecoverage" ]] ; then phpenv config-rm xdebug.ini; fi
     80  - |
     81    # Remove Xdebug when not running codecoverage for a huge performance increase:
     82    if [[ "$BP_TRAVISCI" != "travis:codecoverage" && -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]]; then
     83      phpenv config-rm xdebug.ini
     84    else
     85      echo "We are running codecoverage or xdebug.ini does not exist"
     86    fi
    8287  # set up tests config
    8388  - cd $WP_DEVELOP_DIR
Note: See TracChangeset for help on using the changeset viewer.