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

jish / pre-commit / 863 / 2
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: feature/license
DEFAULT BRANCH: master
Ran 08 Oct 2017 08:51PM UTC
Files 52
Run time 2s
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

08 Oct 2017 08:42PM UTC coverage: 97.326%. First build
2.0.0

push

travis-ci

jish
Do not run pre-commit checks on images

We have a mechanism to determine if we should run our list of checks
on the files being committed. Generally these checks are pretty
simplistic. For example, does the file exist, or is it a directory?

Also, in order to avoid running checks on large binary files we run
a heuristic against every file currently being committed.
Unfortunately, this binary check is prone to errors and is now causing
performance issues.

In order to avoid this binary file test, we do some quick filtering
based on file extension. If the file is an image, we definitely do not
want to run checks on it. If the file is a Ruby source code file, we
definitely do want to run checks on it.

This will allow us to avoid running the binary test in most cases.

1092 of 1122 relevant lines covered (97.33%)

11.82 hits per line

Source Files on job 863.2 (2.0.0)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 863
  • Travis Job 863.2
  • 237c9729 on github
  • Next Job for 2.0.0 on josh/quick-extension-filter (#865.2)
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