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

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

Build:
Build:
LAST BUILD BRANCH: sds/cut-version
DEFAULT BRANCH: main
Ran 14 Nov 2018 05:43PM 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
535

push

travis-ci

sds
Ignore rubocop Layout/AlignHash in default config

If ruby calls span multiple lines, the extracted ruby code
doesn't have the original indentation, so the Layout/AlignHash
cop will give wrong reports

Example:

 $('#modal').html("#{escape_javascript(render(partial: 'submit_request_dialog',
                                              locals: { project: @project, package: @package,
                                              revision: @revision, target_project: @tprj, target_package: @tpkg,
                                              description: @description, cleanup_source: @cleanup_source }))}")

Becomes extracted:

escape_javascript(render(partial: 'submit_request_dialog',
                                             locals: { project: @project, package: @package,
                                             revision: @revision, target_project: @tprj, target_package: @tpkg,
                                             description: @description, cleanup_source: @cleanup_source }))

And rubocop would complain about 'Align the elements of a hash literal
if they span more than one line.'

1669 of 1678 relevant lines covered (99.46%)

11003.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 535.1 (2.2, gemfiles/haml4.gemfile) 14 Nov 2018 05:43PM UTC 0
99.17
Travis Job 535.1
2 535.2 (2.2, gemfiles/haml5.gemfile) 14 Nov 2018 05:43PM UTC 0
99.29
Travis Job 535.2
3 535.3 (2.3.7, gemfiles/haml4.gemfile) 14 Nov 2018 05:44PM UTC 0
99.18
Travis Job 535.3
4 535.4 (2.3.7, gemfiles/haml5.gemfile) 14 Nov 2018 05:43PM UTC 0
99.29
Travis Job 535.4
5 535.5 (2.4.4, gemfiles/haml4.gemfile) 14 Nov 2018 05:43PM UTC 0
99.18
Travis Job 535.5
6 535.6 (2.4.4, gemfiles/haml5.gemfile) 14 Nov 2018 05:44PM UTC 0
99.29
Travis Job 535.6
7 535.7 (2.5.1, gemfiles/haml4.gemfile) 14 Nov 2018 05:45PM UTC 0
99.18
Travis Job 535.7
8 535.8 (2.5.1, gemfiles/haml5.gemfile) 14 Nov 2018 05:45PM UTC 0
99.29
Travis Job 535.8
Source Files on build 535
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #535
  • 61b098a3 on github
  • Prev Build on master (#532)
  • Next Build on master (#544)
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