Browse Source
			
			
			Merge pull request #1178 from BlackDex/update-azure-pipelines
			
				Updated the azure-pipelines.yml for multidb
			
			
				pull/1198/head
			
			
		 
		
			
				
					
						
						Daniel García
					
					5 years ago
					
						
							committed by
							
								
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
5 additions and 
8 deletions
			 
			
		 
		
			
				- 
					
					
					 
					azure-pipelines.yml
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
						
					 | 
					@ -1,5 +1,5 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					pool: | 
					 | 
					 | 
					pool: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					  vmImage: 'Ubuntu-16.04' | 
					 | 
					 | 
					  vmImage: 'Ubuntu-18.04' | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					steps: | 
					 | 
					 | 
					steps: | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					- script: | | 
					 | 
					 | 
					- script: | | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -10,16 +10,13 @@ steps: | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					- script: | | 
					 | 
					 | 
					- script: | | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    sudo apt-get update | 
					 | 
					 | 
					    sudo apt-get update | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    sudo apt-get install -y libmysql++-dev | 
					 | 
					 | 
					    sudo apt-get install -y --no-install-recommends build-essential libmariadb-dev-compat libpq-dev libssl-dev pkgconf | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					  displayName: Install libmysql | 
					 | 
					 | 
					  displayName: 'Install build libraries.' | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					- script: | | 
					 | 
					 | 
					- script: | | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    rustc -Vv | 
					 | 
					 | 
					    rustc -Vv | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    cargo -V | 
					 | 
					 | 
					    cargo -V | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  displayName: Query rust and cargo versions | 
					 | 
					 | 
					  displayName: Query rust and cargo versions | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					- script : cargo test --features "sqlite" | 
					 | 
					 | 
					- script : cargo test --features "sqlite,mysql,postgresql" | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					  displayName: 'Test project with sqlite backend' | 
					 | 
					 | 
					  displayName: 'Test project with sqlite, mysql and postgresql backends' | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					- script : cargo test --features "mysql" | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  displayName: 'Test project with mysql backend' | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					
  |