From af3376b2a80d7fc251182d50426c915d6712ac1d Mon Sep 17 00:00:00 2001 From: Matthew Grasmick Date: Fri, 7 Apr 2017 15:58:49 -0400 Subject: [PATCH] Fixes #1336: Travis email error starting with Drupal 8.3.0 and Lightning 2.1.0. --- scripts/travis/setup_environment | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/travis/setup_environment b/scripts/travis/setup_environment index ae196b724..3413e5d4b 100755 --- a/scripts/travis/setup_environment +++ b/scripts/travis/setup_environment @@ -7,6 +7,12 @@ sleep 3 export PATH=${COMPOSER_BIN}:$PATH +# Create fake mailer. +echo 'max_execution_time = 120' >> drupal.php.ini; +echo 'sendmail_path = /bin/true' >> drupal.php.ini; +phpenv config-add drupal.php.ini +phpenv rehash + # Enable $_ENV variables in PHP. echo 'variables_order = "EGPCS"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini # Ensure that always_populate_raw_post_data PHP setting: Not set to -1 does not happen.