Enable travis-ci

This enables travis-ci support.

#88 is a part of it, because it makes test suite pass.

Related: #89.