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

TykTechnologies / tyk / 3165

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

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

Jobs
ID Job ID Ran Files Coverage
2 3165.2 (LATEST_GO=true) 03 Oct 2017 12:35PM UTC 0
45.98
Travis Job 3165.2
Source Files on build 3165
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3165
  • de7f1619 on github
  • Prev Build on master (#3162)
  • Next Build on master (#3172)
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