Fix issue #21 by adding travis support.

Add travis ci support to the project.