Add travis-ci support

Add .travis.yml to support travis-ci build.

Currently tests under tavis-ci are failing. Need more works.