Create .travis.yml

I had a problem squashing the commits. Sorry. Next try. Closes #398 and #193.