Upgrade travis to java 7