add travis config
change build to jdk7 as it is backward compatible