mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	Use pg initialization script from Travis
This commit is contained in:
		
							parent
							
								
									034b5c0be5
								
							
						
					
					
						commit
						bfcf92f728
					
				@ -1,5 +1,4 @@
 | 
			
		||||
printf "[qgis_test]\nhost=localhost\ndbname=qgis_test\nuser=postgres" > ~/.pg_service.conf
 | 
			
		||||
psql -c 'CREATE DATABASE qgis_test;' -U postgres
 | 
			
		||||
psql -f $TRAVIS_BUILD_DIR/tests/testdata/provider/testdata_pg.sql -U postgres -d qgis_test
 | 
			
		||||
psql -f $TRAVIS_BUILD_DIR/tests/testdata/provider/testdata_pg_reltests.sql -U postgres -d qgis_test
 | 
			
		||||
psql -f $TRAVIS_BUILD_DIR/tests/testdata/provider/testdata_pg_vectorjoin.sql -U postgres -d qgis_test
 | 
			
		||||
 | 
			
		||||
export PGUSER=postgres
 | 
			
		||||
$TRAVIS_BUILD_DIR/tests/testdata/provider/testdata_pg.sh
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user