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

anachronauts / jeff65 / 373
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: pass-schedule
DEFAULT BRANCH: master
Ran 17 Sep 2018 10:54PM UTC
Jobs 3
Files 24
Run time 57s
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
373

push

travis-ci

jdpage
Improve lexer efficiency for large tokens

Lexer now loads file by blocks, rather than lines. Technically, the
lexer is still O(n^2) on token size, but the coefficient on the
quadratic term is low enough that it shouldn't be an issue unless you
have alarmingly long block comments. (Or strings, but you'll have bigger
things to worry about than lex times then.)

If ReStream is passed an in-memory string stream, it'll bypass the
stream API. This is mainly to get around the fact that StringIO objects
don't have an underlying binary stream to detach.

Fixes a bug where a token which is partially matched at the end of the
file is emitted as if it were a full match. This was masked by the way
that comments are currently parsed, but would have been turned up later
when we switch comment syntax.

Added catchall token regexes for string and comment modes to the
gold-syntax lexer. This was unnecessary with the original line-oriented
matcher, and was then masked by the above bug in the multiline matcher.

Removed the noisy+slow "Produced token" logging line which I forgot to
remove before the last commit.

453 of 527 branches covered (85.96%)

Branch coverage included in aggregate %.

1522 of 1713 relevant lines covered (88.85%)

2.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 373.1 17 Sep 2018 10:54PM UTC 0
88.38
Travis Job 373.1
2 373.2 17 Sep 2018 10:55PM UTC 0
88.38
Travis Job 373.2
3 373.3 17 Sep 2018 10:55PM UTC 0
88.17
Travis Job 373.3
Source Files on build 373
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #373
  • 1f61cdc6 on github
  • Next Build on multiline-restream (#376)
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