Add an integration test and .travis.yaml.