add travis.yml

@tealeg If you enable the Travis service on the repo, this `.travis.yml` should probably be enough to get the tests running. Some tests involving dates failed for me locally though, so I'm not sure if all tests will pass.