Use time.Equal when comparing time.Time
Add travis ci config