Fix config/datebase.yml for sqlite.
Add caching to travis config and adapt script.