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

Robbepop / dimacs-parser / 636
91%

Build:
DEFAULT BRANCH: master
Ran 31 Dec 2019 09:53AM UTC
Jobs 3
Files 8
Run time 2min
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
636

cron

travis-ci

Robbepop
A `std::io::Read`-based parser. Also, ran `cargo format`. (#3)

* Run `cargo fmt`

* Change parse internals to bytes rather than chars

This change is straightforward because the DIMACS format is ASCII-only.

* Added an std::io::Read-based parser

Panics on IO errors

Why?

Because the alternatives are:
   * `collect` the first IO error -- requiring us to pull the whole
   string into memory
   * catch those IO errors deep in the lexer, and bubble them up as a
   special kind of `ParseError`.

Since we'll generally be reading form files, read errors won't typically
happen, so I figure its better to just panic, since a use wouldn't want
to recover any ways.

* Add tests for read_dimacs

1148 of 1260 relevant lines covered (91.11%)

5.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 636.1 31 Dec 2019 09:53AM UTC 0
91.11
Travis Job 636.1
2 636.2 31 Dec 2019 09:53AM UTC 0
91.11
Travis Job 636.2
3 636.3 31 Dec 2019 09:55AM UTC 0
91.11
Travis Job 636.3
Source Files on build 636
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #636
  • 90915a22 on github
  • Prev Build on master (#635)
  • Next Build on master (#637)
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