Add spec for ActiveRecord shared connection.
Add travis configuration.