Added travis ci template.

Need unit test.