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

cncjs / cncjs / 3666
85%

Build:
DEFAULT BRANCH: master
Ran 29 Mar 2020 02:49AM UTC
Jobs 3
Files 58
Run time 9min
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
3666

push

travis-ci

web-flow
Fix #581 - jog not working on Marlin (#583)

* Fix #581 - jog not working on Marlin

This RE works better for parsing Marlin temperature reports:
* It handles the "ok T:0" case that Marlin issues when it has no temperature probes
* It allows B@ and W fields to be optionally present after T:, T0:, and T1: blocks, instead of as alternatives to them.
* It recognizes all the test cases shown in the code commentary, whereas the original fails on most of them.
https://www.debuggex.com/?flavor=javascript is a really great way to visualize and test regular expressions!

See the trail in issue #581 for visualizations of the two regex's.

As an alternative to this complicated RE that tries to enumerate all possibilities, it might be better to just go for something simple like
/\s*T:[0-9\-]/

* chore: add test cases for Marlin controller

* fix(eslint): fix import errors

* refactor(Marlin): simplifies the regular expression that matches the temperature string

Co-authored-by: Cheton Wu <cheton@gmail.com>

611 of 915 branches covered (66.78%)

1 of 1 new or added line in 1 file covered. (100.0%)

1273 of 1503 relevant lines covered (84.7%)

481.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3666.1 (CI_BUILD_NUMBER=$TRAVIS_BUILD_NUMBER DOCKER_EMAIL=[secure] DOCKER_USER=[secure] DOCKER_PASS=[secure] GITHUB_TOKEN=[secure]) 29 Mar 2020 02:49AM UTC 0
84.7
Travis Job 3666.1
2 3666.2 (CI_BUILD_NUMBER=$TRAVIS_BUILD_NUMBER DOCKER_EMAIL=[secure] DOCKER_USER=[secure] DOCKER_PASS=[secure] GITHUB_TOKEN=[secure]) 29 Mar 2020 02:49AM UTC 0
84.7
Travis Job 3666.2
4 3666.4 (CI_BUILD_NUMBER=$TRAVIS_BUILD_NUMBER DOCKER_EMAIL=[secure] DOCKER_USER=[secure] DOCKER_PASS=[secure] GITHUB_TOKEN=[secure]) 29 Mar 2020 02:58AM UTC 0
84.7
Travis Job 3666.4
Source Files on build 3666
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3666
  • f33e6464 on github
  • Prev Build on master (#3658)
  • Next Build on master (#3667)
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