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

pinterest / elixir-thrift / 1126
91%

Build:
DEFAULT BRANCH: master
Ran 22 Aug 2018 06:07PM UTC
Jobs 4
Files 29
Run time 18s
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
1126

push

travis-ci

web-flow
Rework the way we handle leex/yecc errors (#399)

We previously returned the low-level leex and yecc errors pretty much
verbatim, relying on our FileParseError exception module to perform any
last-minute formatting.

This change performs parse error formatting directly in Parser.parse/2,
calling :thrift_lexer.format_error/1 or :thrift_parser.format_error/1 as
appropriate. The error result is now always {:error, {line, message}}.

Also, reserved_keyword_error/2 used to raise a runtime exception. It now
returns a leex-compatible error result so that it's no longer a special
case. This was also tripping up dialyzer because the lexer pass isn't
annotated as no_return().

728 of 786 relevant lines covered (92.62%)

1445.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1126.1 22 Aug 2018 06:07PM UTC 0
92.39
Travis Job 1126.1
2 1126.2 22 Aug 2018 06:08PM UTC 0
92.61
Travis Job 1126.2
3 1126.3 22 Aug 2018 06:08PM UTC 0
92.61
Travis Job 1126.3
4 1126.4 (CHECK_FORMATTED=true) 22 Aug 2018 06:07PM UTC 0
92.61
Travis Job 1126.4
Source Files on build 1126
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1126
  • 2bf739fc on github
  • Prev Build on master (#1122)
  • Next Build on master (#1127)
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