java 8 setting for travis builds