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.