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

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

Build:
Build:
LAST BUILD BRANCH: feature/license
DEFAULT BRANCH: master
Ran 08 Oct 2017 08:51PM UTC
Jobs 1
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

pending completion
863

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.

22 of 22 new or added lines in 1 file covered. (100.0%)

1092 of 1122 relevant lines covered (97.33%)

11.82 hits per line

Jobs
ID Job ID Ran Files Coverage
2 863.2 (2.0.0) 08 Oct 2017 08:51PM UTC 0
97.33
Travis Job 863.2
Source Files on build 863
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #863
  • 237c9729 on github
  • Next Build on josh/quick-extension-filter (#865)
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