Adding travis-ci support

I have added the Travis-CI support that runs the tests every pull request.