twitter inspired refactor

add travis config