update travis config to JDK8
Add head and base properties to PR