Travis config updated to build with java 8