mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-11-04 05:53:21 +00:00 
			
		
		
		
	Invoke test runs via travis using a separate shell script that ensures the a suitable frame buffer is available to run chromedriver against
		
			
				
	
	
		
			10 lines
		
	
	
		
			146 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			146 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
 | 
						|
  export DISPLAY=:99.0
 | 
						|
  sh -e /etc/init.d/xvfb start
 | 
						|
  sleep 3
 | 
						|
fi
 | 
						|
 | 
						|
npm run test
 |