diff --git a/scripts/travis/setup_environment b/scripts/travis/setup_environment index ae196b724e..192a1d9e39 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.