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

TykTechnologies / tyk / 3165 / 2

Build:
DEFAULT BRANCH: master
Ran 03 Oct 2017 12:35PM UTC
Files 84
Run time 5s
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

03 Oct 2017 12:32PM UTC coverage: 45.984% (+0.07%) from 45.917%
LATEST_GO=true

push

travis-ci

buger
loader: simplify auth chain construction

First, move the "enabled" checks to EnabledForSpec, which is why it's
there in the interface to begin with. Let the loader still log when a
middleware was appended by making mwAppendEnabled return a bool.

Second, remove a duplicate useCoProcessAuth if statement.

Third, greatly simplify the logic to decide whether or not to use
AuthKey. The second part of the conditional checked that no other auth
middleware was loaded. We can do this by simply checking if the auth
chain is empty, instead of using a very complex and hard to maintain
chain of bools.

6115 of 13298 relevant lines covered (45.98%)

0.5 hits per line

Source Files on job 3165.2 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 8
  • Source Changed 7
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3165
  • Travis Job 3165.2
  • de7f1619 on github
  • Prev Job for LATEST_GO=true on master (#3162.2)
  • Next Job for LATEST_GO=true on master (#3172.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