1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 14:12:44 +01:00

Default mail driver to 'log' for tests

This commit is contained in:
Hillel Coren 2017-02-02 15:11:23 +02:00
parent 41096a7bce
commit 7f18b121ee

View File

@ -49,6 +49,7 @@ before_script:
- php artisan key:generate --no-interaction - php artisan key:generate --no-interaction
- sed -i 's/APP_ENV=production/APP_ENV=development/g' .env - sed -i 's/APP_ENV=production/APP_ENV=development/g' .env
- sed -i 's/APP_DEBUG=false/APP_DEBUG=true/g' .env - sed -i 's/APP_DEBUG=false/APP_DEBUG=true/g' .env
- sed -i 's/MAIL_DRIVER=smtp/MAIL_DRIVER=log/g' .env
- sed -i '$a NINJA_DEV=true' .env - sed -i '$a NINJA_DEV=true' .env
- sed -i '$a TRAVIS=true' .env - sed -i '$a TRAVIS=true' .env
# create the database and user # create the database and user