mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	travis: Workaround broken Travis CI java configuration.
Travis CI seems to have broken /usr/bin/java in a recent infrastructure change.
This commit is contained in:
		@@ -15,6 +15,10 @@ tools/provision.py --travis --production-travis
 | 
				
			|||||||
cp -a tools/travis/success-http-headers.txt ~/
 | 
					cp -a tools/travis/success-http-headers.txt ~/
 | 
				
			||||||
source tools/travis/activate-venv
 | 
					source tools/travis/activate-venv
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Force OpenJDK 8 JRE. This is a workaround for Travis CI having
 | 
				
			||||||
 | 
					# broken their java install, but also nicely provides consistency.
 | 
				
			||||||
 | 
					sudo ln -nsf /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java /usr/bin/java
 | 
				
			||||||
 | 
					
 | 
				
			||||||
py_version="$(python -c 'import sys; print(sys.version_info[0])')"
 | 
					py_version="$(python -c 'import sys; print(sys.version_info[0])')"
 | 
				
			||||||
if [ "$py_version" = 2 ]; then
 | 
					if [ "$py_version" = 2 ]; then
 | 
				
			||||||
    build_options=()
 | 
					    build_options=()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user