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

wikimedia / parsoid / 2793
85%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2019 09:12PM UTC
Jobs 3
Files 153
Run time 7min
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
2793

push

travis-ci

cscott
<a href="https://github.com/wikimedia/parsoid/commit/50885ce42">Optimize regexp used to verify UTF-8 validity

PHP7 was hitting the PREG_JIT_STACKLIMIT_ERROR on large strings here,
because the `*` quantifier was implicitly growing the stack for each
character to allow backtracking if the match failed.  Backtracking
is pointless here, so use `*+` to eliminate it (and its stack usage).

While we&#39;re add it, add the `D` modifier to ensure that `$` only matches
at the very end of the string.  Given that a trailing newline would
presumably be valid UTF-8, this doesn&#39;t actually affect correctness.

Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/6244b18de">6244b18de</a>

8967 of 12098 branches covered (74.12%)

14173 of 17757 relevant lines covered (79.82%)

89317.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2793.1 05 Jul 2019 09:17PM UTC 0
79.82
Travis Job 2793.1
2 2793.2 05 Jul 2019 09:12PM UTC 0
79.82
Travis Job 2793.2
3 2793.3 05 Jul 2019 09:19PM UTC 0
79.84
Travis Job 2793.3
Source Files on build 2793
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2793
  • 50885ce4 on github
  • Prev Build on master (#2792)
  • Next Build on master (#2794)
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