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

swanson / stringer / 664
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/nokogiri-1.11.4
DEFAULT BRANCH: master
Ran 30 Jan 2016 01:20PM UTC
Jobs 3
Files 127
Run time 54s
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
664

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`.

2230 of 2292 relevant lines covered (97.29%)

11.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 664.1 (2.0.0) 12 Aug 2014 05:30PM UTC 0
97.29
Travis Job 664.1
2 664.2 (2.1) 12 Aug 2014 05:30PM UTC 0
97.29
Travis Job 664.2
3 664.3 (2.2) 12 Aug 2014 05:30PM UTC 0
97.29
Travis Job 664.3
Source Files on build 664
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #664
  • 9ff9d5aa on github
  • Prev Build on update-vulnerable-gems (#661)
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