Add travis-ci support.

- Thanks to @bollwyvl for the patch.
- Bumped Python requirement to 2.6 to avoid compatibility cruft.