add travis and pytest support