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

bradleyfalzon / gopherci / 233
57%
master: 61%

Build:
Build:
LAST BUILD BRANCH: review-no-approve
DEFAULT BRANCH: master
Ran 09 Apr 2017 11:15AM UTC
Jobs 1
Files 15
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

pending completion
233

push

travis-ci

bradleyfalzon
Handle repositories with no history (eg new)

For a new repository, or a branch which doesn't have any history
(tracking a different git tree), we can't get a diff using the
"git diff abcd~5...abcd" method.

Instead, we'll try that way, and if it fails, try to get the diff
using "git show abcd".

I chose not to have the analyser check the ref "abcd~5" exists first
to help simplify the code, with less conditionals, but I'm not
convinced this is any more readable and potentially less reliable.
Therefore, it may be refactored in the future.

I've added an integration test for this as well, to ensure the
behaviour with git is always tested and not mocked like it is in the
unit test.

Fixes #79.

780 of 1374 relevant lines covered (56.77%)

1.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 233.1 (GOOGLE_APPLICATION_CREDENTIALS=/tmp/gcloud-GopherCI-dev.json) 09 Apr 2017 11:15AM UTC 0
56.77
Travis Job 233.1
Source Files on build 233
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #233
  • d7a0e4b1 on github
  • Prev Build on failed-diff (#232)
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