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

sds / haml-lint / 496
99%
main: 97%

Build:
Build:
LAST BUILD BRANCH: sds/cut-version
DEFAULT BRANCH: main
Ran 07 Jan 2018 04:52AM UTC
Jobs 8
Files 79
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
496

push

travis-ci

sds
Make the ClassAttributeWithStaticValue more robust

Haml is extremely forgiving in its parsing, which leads to strange
errors being thrown by Haml-Lint when the parsing creates something we
weren't expecting. In this case, with a malformed set of attributes that
is still rendered by Haml, Haml-Lint was throwing an error and exiting.

By checking for the correct Haml structure as part of the inspection
predicate, we can prevent this error from happening and still yield
correct results.

1670 of 1673 relevant lines covered (99.82%)

10772.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 496.1 (2.1, gemfiles/haml4.gemfile) 07 Jan 2018 04:53AM UTC 0
99.58
Travis Job 496.1
2 496.2 (2.1, gemfiles/haml5.gemfile) 07 Jan 2018 04:52AM UTC 0
99.58
Travis Job 496.2
3 496.3 (2.2, gemfiles/haml4.gemfile) 07 Jan 2018 04:53AM UTC 0
99.58
Travis Job 496.3
4 496.4 (2.2, gemfiles/haml5.gemfile) 07 Jan 2018 04:52AM UTC 0
99.58
Travis Job 496.4
5 496.5 (2.3.5, gemfiles/haml4.gemfile) 07 Jan 2018 04:53AM UTC 0
99.58
Travis Job 496.5
6 496.6 (2.3.5, gemfiles/haml5.gemfile) 07 Jan 2018 04:54AM UTC 0
99.58
Travis Job 496.6
7 496.7 (2.4.2, gemfiles/haml4.gemfile) 07 Jan 2018 04:54AM UTC 0
99.58
Travis Job 496.7
8 496.8 (2.4.2, gemfiles/haml5.gemfile) 07 Jan 2018 04:54AM UTC 0
99.58
Travis Job 496.8
Source Files on build 496
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #496
  • 5e729a20 on github
  • Prev Build on master (#491)
  • Next Build on master (#497)
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