Add travis-ci support

Support for travis-ci to run tests whenever there are pull requests or merges.