Updated Travis configuration for Java 8 compilation