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

bradleyfalzon / gopherci / 366 / 1
61%
master: 61%

Build:
DEFAULT BRANCH: master
Ran 18 Aug 2017 03:14AM UTC
Files 21
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

18 Aug 2017 03:05AM UTC coverage: 60.117% (+0.02%) from 60.096%
GOOGLE_APPLICATION_CREDENTIALS=/tmp/gcloud-GopherCI-dev.json

push

travis-ci

bradleyfalzon
Skip GitHub pull request events that aren't accessible

I've had a few cases where a user or repository that is not private
is not accessible. It appears to be because GitHub has flagged the
account due to suspicious behaviour.

This means we receive the hooks, but can't access some of the required
API endpoints, such as /repos/owner/repo/pulls/1.

So, this change adds an extra check for all PRs to check if the
pulls API responds with an error, then we'll log and ignore the event
completely.

See https://platform.github.community/t/pull-request-event-not-setting-private-field/2981.
See https://sentry.io/bradley-falzon/gopherci/issues/329097380/.

1135 of 1888 relevant lines covered (60.12%)

3.5 hits per line

Source Files on job 366.1 (GOOGLE_APPLICATION_CREDENTIALS=/tmp/gcloud-GopherCI-dev.json)
  • Tree
  • List 0
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 366
  • Travis Job 366.1
  • 3a5c23c4 on github
  • Prev Job for GOOGLE_APPLICATION_CREDENTIALS=/tmp/gcloud-GopherCI-dev.json on master (#365.1)
  • Next Job for GOOGLE_APPLICATION_CREDENTIALS=/tmp/gcloud-GopherCI-dev.json on master (#369.1)
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