mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 19:04:41 -04:00
Working on adding check-data to Travis
This commit is contained in:
parent
01ca660b6b
commit
94791a6c33
@ -78,7 +78,7 @@ class CheckData extends Command
|
|||||||
$errorEmail = env('ERROR_EMAIL');
|
$errorEmail = env('ERROR_EMAIL');
|
||||||
|
|
||||||
$this->info($this->log);
|
$this->info($this->log);
|
||||||
throw new Exception('Check data failed!!');
|
|
||||||
if ($errorEmail) {
|
if ($errorEmail) {
|
||||||
Mail::raw($this->log, function ($message) use ($errorEmail) {
|
Mail::raw($this->log, function ($message) use ($errorEmail) {
|
||||||
$message->to($errorEmail)
|
$message->to($errorEmail)
|
||||||
|
@ -113,7 +113,7 @@ if (Utils::isReseller()) {
|
|||||||
Route::post('/reseller_stats', 'AppController@stats');
|
Route::post('/reseller_stats', 'AppController@stats');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Utils::isTravis() || true) {
|
if (Utils::isTravis()) {
|
||||||
Route::get('/check_data', 'AppController@checkData');
|
Route::get('/check_data', 'AppController@checkData');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user