Skip to content

Commit

Permalink
Patch Features to work with PHP 7.2 on Drupal 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrenssen committed Oct 3, 2018
1 parent 1ddcaee commit c20e091
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ before_script:
# @todo Re-enable behat drush endpoint testing.
# @see https://github.com/jhedstrom/drupalextension/issues/458
- test ${DRUPAL_VERSION} -eq 6 || test ${DRUPAL_VERSION} -eq 8 || (test ${DRUPAL_VERSION} -eq 7 && drush help behat)
# Patch Features to work with PHP 7.2 on Drupal 7.
# @see https://www.drupal.org/project/features/issues/2931464
- test \! ${DRUPAL_VERSION} -eq 7 || curl -s https://www.drupal.org/files/issues/2018-03-12/features-support_php_72-2931464-10.patch | patch -p1 -d ${TRAVIS_BUILD_DIR}/${MODULE_PATH}/features/
# Only revert features on Drupal 7.
- test \! ${DRUPAL_VERSION} -eq 7 || drush --yes fr behat_test
# Disable the page cache on Drupal 8.
Expand Down

0 comments on commit c20e091

Please sign in to comment.