1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Working on adding check-data to Travis

This commit is contained in:
Hillel Coren 2017-03-09 17:52:58 +02:00
parent 01ca660b6b
commit 94791a6c33
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ class CheckData extends Command
$errorEmail = env('ERROR_EMAIL');
$this->info($this->log);
throw new Exception('Check data failed!!');
if ($errorEmail) {
Mail::raw($this->log, function ($message) use ($errorEmail) {
$message->to($errorEmail)

View File

@ -113,7 +113,7 @@ if (Utils::isReseller()) {
Route::post('/reseller_stats', 'AppController@stats');
}
if (Utils::isTravis() || true) {
if (Utils::isTravis()) {
Route::get('/check_data', 'AppController@checkData');
}