mirror of https://github.com/interlegis/sapl.git
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							25 lines
						
					
					
						
							485 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							25 lines
						
					
					
						
							485 B
						
					
					
				| language: python | |
| 
 | |
| python: | |
|   - 3.7 | |
| 
 | |
| services: | |
|   - postgresql | |
| 
 | |
| install: | |
|   - pip install -r requirements/test-requirements.txt | |
| 
 | |
| before_script: | |
|   - cp sapl/.env_test sapl/.env | |
|   - psql -c "CREATE USER sapl WITH PASSWORD 'sapl'" -U postgres; | |
|   - psql -c "CREATE DATABASE sapl OWNER sapl;" -U postgres | |
|   - ./scripts/django/check_migrations.sh | |
| 
 | |
| script: | |
|   - ./manage.py migrate | |
|   - py.test --create-db | |
|   # - ./scripts/django/test_and_check_qa.sh | |
| 
 | |
| addons: | |
|     hosts: | |
|         - 127.0.0.1 sapldb
 | |
| 
 |