run gradle check on travis ci