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

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

Build:
Build:
LAST BUILD BRANCH: feature/license
DEFAULT BRANCH: master
Ran 29 Mar 2018 03:43AM UTC
Files 52
Run time 1s
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

29 Mar 2018 03:37AM UTC coverage: 97.326%. First build
2.0.0

push

travis-ci

jish
Ignore standard error when checking grep version

We are currently shelling out to the `grep` command for some
functionality of the pre-commit gem. In order to do this we need to
reason about the `grep` executable running on the system.

To introspect the command we check the output of the `grep --version`
command and decide what to do next. On Alpine Linux grep does not
report its version and instead outputs an error message. Here we
ignore the standard error stream when checking grep's version.

1092 of 1122 relevant lines covered (97.33%)

11.85 hits per line

Source Files on job 879.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 1
  • Travis Job 879.2
  • 49f7caa0 on github
  • Next Job for 2.0.0 on grep-version (#881.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