Add xvfb-init.sh to docker context
This commit is contained in:
		
					parent
					
						
							
								c3e0e4682d
							
						
					
				
			
			
				commit
				
					
						f1036f7305
					
				
			
		
					 2 changed files with 4 additions and 3 deletions
				
			
		|  | @ -1 +1,2 @@ | ||||||
| * | * | ||||||
|  | !tools/xvfb-init.sh | ||||||
|  |  | ||||||
|  | @ -60,9 +60,9 @@ def main(): | ||||||
|       deps += LINUX_DEPS_NO_ARM |       deps += LINUX_DEPS_NO_ARM | ||||||
|     execute(['sudo', 'apt-get', 'install'] + deps) |     execute(['sudo', 'apt-get', 'install'] + deps) | ||||||
| 
 | 
 | ||||||
|  if PLATFORM == 'linux': |   if PLATFORM == 'linux': | ||||||
|   os.environ['DISPLAY'] = ':99.0' |     os.environ['DISPLAY'] = ':99.0' | ||||||
|   execute(['sh', '-e', '/etc/init.d/xvfb', 'start']) |     execute(['sh', '-e', '/etc/init.d/xvfb', 'start']) | ||||||
| 
 | 
 | ||||||
|   # CI's npm is not reliable. |   # CI's npm is not reliable. | ||||||
|   npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm' |   npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm' | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kevin Sawicki
				Kevin Sawicki