Rails database setup on Travis-CI
I'm trying to use Travis Continuous Integration on a Rails project. The documentation says that the test db must be configured as following for SQLite3: test: adapter: sqlite3 database: ":memory:" timeout: 500 But I'd like to keep my default configuration for local tests. Is it possible to keep both my local settings and the Travis requirements? My solution for this problem is fully based on a blog post with a few differences: Travis CI specific settings in config/database.travis.yml ; cp config/database.travis.yml config/database.yml in before script section of .travis.yml ; I don't have