add travis yml
add animate method