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

zulip / zulip / 276
3%

Build:
DEFAULT BRANCH: master
Ran 14 Jan 2017 05:13AM UTC
Jobs 7
Files 264
Run time 12min
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
276

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 276.1 (TEST_SUITE=frontend) 14 Jan 2017 05:14AM UTC 0
Travis Job 276.1
2 276.2 (TEST_SUITE=frontend) 14 Jan 2017 05:15AM UTC 0
Travis Job 276.2
3 276.3 (TEST_SUITE=backend) 14 Jan 2017 05:17AM UTC 0
90.07
Travis Job 276.3
4 276.4 (TEST_SUITE=backend) 14 Jan 2017 05:17AM UTC 0
90.07
Travis Job 276.4
5 276.5 (TEST_SUITE=static-analysis) 14 Jan 2017 05:13AM UTC 0
Travis Job 276.5
6 276.6 (TEST_SUITE=production) 14 Jan 2017 05:24AM UTC 0
Travis Job 276.6
7 276.7 (TEST_SUITE=production) 14 Jan 2017 05:26AM UTC 0
Travis Job 276.7
Source Files on build 276
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #276
  • 153ad188 on github
  • Prev Build on master (#274)
  • Next Build on master (#278)
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