• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

swanson / stringer / 661
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/nokogiri-1.11.4
DEFAULT BRANCH: master
Ran 30 Jan 2016 01:18PM UTC
Jobs 3
Files 8
Run time 37s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
661

push

travis-ci

Koronen
Update config/database.yml to use DATABASE_URL in production

The previous configuration would result in the following type of error on
Heroku.

    app[web.1]: /.../connection_adapters/postgresql_adapter.rb:888:in
      `initialize': could not connect to server: No such file or directory (PG::ConnectionBad)
    app[web.1]:    Is the server running locally and accepting
    app[web.1]:    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

From
<https://github.com/rails/rails/blob/4-1-stable/activerecord/CHANGELOG.md#rails-410-april-8-2014>:

> Currently Active Record can be configured via the environment variable
> `DATABASE_URL` or by manually injecting a hash of values which is what Rails
> does, reading in `database.yml` and setting Active Record appropriately.
> Active Record expects to be able to use `DATABASE_URL` without the use of
> Rails, and we cannot rip out this functionality without deprecating.

The `DATABASE_URL` environment variable should contain all the settings now
removed from `config/database.yml`.

52 of 122 relevant lines covered (42.62%)

1.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 661.1 (2.0.0) 30 Jan 2016 01:19PM UTC 0
42.62
Travis Job 661.1
2 661.2 (2.1) 30 Jan 2016 01:18PM UTC 0
42.62
Travis Job 661.2
3 661.3 (2.2) 30 Jan 2016 01:19PM UTC 0
42.62
Travis Job 661.3
Source Files on build 661
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #661
  • de79fd2b on github
  • Prev Build on update-vulnerable-gems (#655)
  • Next Build on update-vulnerable-gems (#664)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc