Travis build only for java 7