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

zulip / zulip / 11252
3%

Build:
DEFAULT BRANCH: master
Ran 14 Jan 2017 01:18AM UTC
Jobs 7
Files 264
Run time 11min
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
11252

push

travis-ci

showell
Lint for duplicate ids in templates.

In this commit we enhance our current template linter to detect
duplicate ids and report them during lint checks. html_branches.py
was topped up with a new function build_id_dict for the purpose.

Also the get_tag_info function in same file was updated to parse
ids and classes more robustly in cases of template variables.
split_for_id_and_class function was added to serve this purpose.

Unit tests for both the functions were created under
tests/test_html_branches. Also a directory under tests called
test_template_data was created to hold templates for testing under
newly created functionality.

check_templates was modified to print to console any duplicates
detected.
showell reviewed my commit and helped me out.

Fixes #2950.

25011 of 27764 relevant lines covered (90.08%)

1.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11252.1 (TEST_SUITE=frontend) 14 Jan 2017 01:18AM UTC 0
Travis Job 11252.1
2 11252.2 (TEST_SUITE=frontend) 14 Jan 2017 01:18AM UTC 0
Travis Job 11252.2
3 11252.3 (TEST_SUITE=backend) 14 Jan 2017 01:21AM UTC 0
90.07
Travis Job 11252.3
4 11252.4 (TEST_SUITE=backend) 14 Jan 2017 01:25AM UTC 0
90.07
Travis Job 11252.4
5 11252.5 (TEST_SUITE=static-analysis) 14 Jan 2017 01:22AM UTC 0
Travis Job 11252.5
6 11252.6 (TEST_SUITE=production) 14 Jan 2017 01:29AM UTC 0
Travis Job 11252.6
7 11252.7 (TEST_SUITE=production) 14 Jan 2017 01:29AM UTC 0
Travis Job 11252.7
Source Files on build 11252
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11252
  • 153ad188 on github
  • Prev Build on master (#11247)
  • Next Build on master (#11285)
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