From a09b0afe6c05624fcf86cb2caef63868df89f9a5 Mon Sep 17 00:00:00 2001 From: Matthew Grasmick Date: Fri, 7 Apr 2017 16:15:48 -0400 Subject: [PATCH] Fixes #1336: Travis email error starting with Drupal 8.3.0 and Lightning 2.1.0. (#1338) * Fixes #1336: Travis email error starting with Drupal 8.3.0 and Lightning 2.1.0. * Simplifying. --- scripts/travis/setup_environment | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/travis/setup_environment b/scripts/travis/setup_environment index ae196b724..192a1d9e3 100755 --- a/scripts/travis/setup_environment +++ b/scripts/travis/setup_environment @@ -7,6 +7,10 @@ sleep 3 export PATH=${COMPOSER_BIN}:$PATH +# Create fake mailer. +echo 'max_execution_time = 120' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini +echo 'sendmail_path = /bin/true' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini + # 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.