Add travis file copied from Rails.

Fixing #19.

I'm not that familiar with integrating Travis, so is this good enough?