Travis-ci support

Add travis-ci support. Maybe it will require a few more commits.