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

sds / overcommit / 1282
91%

Build:
DEFAULT BRANCH: master
Ran 10 Sep 2016 12:02AM UTC
Jobs 5
Files 150
Run time 11min
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
1282

push

travis-ci

mattbrictson
Fix RailsSchemaUpToDate for new Rails projects

A new Rails app has no migration files, but if `db:migrate` has been
run, then it will have a `schema.rb` with version 0. This would result
in the failure "You're trying to change the schema without adding a
migration file", which is a false negative.

Fix this by adding a `non_zero_schema_version?` test such that a schema
at version 0 is allowed to be committed without any migrations present.

2373 of 2801 relevant lines covered (84.72%)

225.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1282.1 (2.0) 10 Sep 2016 12:03AM UTC 0
88.51
Travis Job 1282.1
2 1282.2 (2.1) 10 Sep 2016 12:02AM UTC 0
88.51
Travis Job 1282.2
3 1282.3 (2.2) 10 Sep 2016 12:03AM UTC 0
88.47
Travis Job 1282.3
4 1282.4 (2.3.0) 10 Sep 2016 12:03AM UTC 0
88.51
Travis Job 1282.4
5 1282.5 (jruby-9.1.2.0) 10 Sep 2016 12:14AM UTC 0
0.0
Travis Job 1282.5
Source Files on build 1282
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1282
  • 1ecc8f5f on github
  • Prev Build on master (#1280)
  • Next Build on master (#1284)
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