mirror of
				https://github.com/matrix-org/synapse.git
				synced 2025-10-25 06:11:31 +02:00 
			
		
		
		
	.. because I want to make the 'install_and_run' script useful for non-synapse jobs, which do not accept --python. In any case we set up the path here, so sytest shouldn't be guessing it.
		
			
				
	
	
		
			17 lines
		
	
	
		
			351 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			351 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| set -eux
 | |
| 
 | |
| : ${WORKSPACE:="$(pwd)"}
 | |
| 
 | |
| export WORKSPACE
 | |
| export PYTHONDONTWRITEBYTECODE=yep
 | |
| export SYNAPSE_CACHE_FACTOR=1
 | |
| 
 | |
| ./jenkins/prepare_synapse.sh
 | |
| ./jenkins/clone.sh sytest https://github.com/matrix-org/sytest.git
 | |
| 
 | |
| ./sytest/jenkins/install_and_run.sh \
 | |
|     --python $WORKSPACE/.tox/py27/bin/python \
 | |
|     --synapse-directory $WORKSPACE \
 |