add travis support and checkstyle