Alex/travis tests

This adds travis support.

I also found the answer to my question on your PR.