|  | @@ -48,7 +48,9 @@ rvm use ruby-2.1
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  mkdir -p reports
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -$RUN_TESTS_COMMAND
 | 
	
		
			
				|  |  | +exit_code=0
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +$RUN_TESTS_COMMAND || exit_code=$?
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  cd reports
 | 
	
		
			
				|  |  |  echo '<html><head></head><body>' > index.html
 | 
	
	
		
			
				|  | @@ -61,3 +63,5 @@ echo '</body></html>' >> index.html
 | 
	
		
			
				|  |  |  cd ..
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  zip -r reports.zip reports
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +exit $exit_code
 |