Add support for Travis CI Windows builds
Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
This commit is contained in:
		
							parent
							
								
									1d923764e1
								
							
						
					
					
						commit
						58a8dfd5c5
					
				
					 2 changed files with 82 additions and 18 deletions
				
			
		| 
						 | 
				
			
			@ -17,6 +17,11 @@ if(DEFINED ENV{M2_HOME})
 | 
			
		|||
  list(APPEND _mvn_hints "$ENV{M2_HOME}/bin")
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
# Chocolatey installs packages under C:\ProgramData\chocolatey.
 | 
			
		||||
if(ENV{ProgramData} AND IS_DIRECTORY "$ENV{ProgramData}/chocolatey/bin")
 | 
			
		||||
  list(APPEND _mvn_paths "$ENV{ProgramData}/chocolatey/bin")
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
# Maven documentation mentions intalling maven under C:\Program Files on
 | 
			
		||||
# Windows and under /opt on *NIX platforms.
 | 
			
		||||
if(WIN32)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue