mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 08:17:32 -05: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');
 | 
			
		||||
 | 
			
		||||
        $this->info($this->log);
 | 
			
		||||
        throw new Exception('Check data failed!!');
 | 
			
		||||
 | 
			
		||||
        if ($errorEmail) {
 | 
			
		||||
            Mail::raw($this->log, function ($message) use ($errorEmail) {
 | 
			
		||||
                $message->to($errorEmail)
 | 
			
		||||
 | 
			
		||||
@ -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');
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user