add rules for travis how to test