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

hypothesis / h / 9887
70%
master: 97%

Build:
Build:
LAST BUILD BRANCH: realtime-update-v1-h-only-1
DEFAULT BRANCH: master
Ran 25 Jan 2016 02:36PM UTC
Jobs 1
Files 96
Run time 5s
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
9887

push

travis-ci

robertknight
Decouple sidebar HTML and embed JS template from webassets and Pyramid

To enable building of the extension and client app without needing
to set up the website, remove all dependencies of the sidebar HTML
and embed JS rendering from Pyramid

 * Extract rendering of the client assets into a separate module
   with no Pyramid dependencies

 * Replace the use of the webassets 'assets' Jinja2 extension and
   references to Pyramid objects in app.html and embed.js

 * Refactor Angular template <script> tag rendering to reduce
   duplication

 * Adapt buildext.py to render app.html and embed.js without going through Pyramid

 * Re-add Google Analytics tracking ID to app HTML template context

   For base.html.jinja2, the Google Analytics tracking ID is
   added by a renderer global in subscribers.py.

   Since app.html.jinja2 is rendered outside of this context,
   we need to pass in the tracking ID explicitly.

 * ga_create_options has been renamed to ga_cookie_domain
   and changed to be an unquoted string rather than a list
   of parameters since that is all we are using it for at the moment.

 * Explicitly disable Google Analytics tracking for the extension

   It was previously the case that when building the extension,
   the Google Analytics tracking ID was never included.

   I'm unsure whether this was intentional or not, so for the moment,
   explicitly pass in the tracking ID as None to make it more obvious
   that tracking is not being used.

74 of 74 new or added lines in 4 files covered. (100.0%)

2678 of 3811 relevant lines covered (70.27%)

0.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
h/subscribers.py
4
100.0
h/views.py
21
100.0
h/buildext.py
23
100.0
h/client.py

Uncovered Existing Lines

Lines Coverage ∆ File
21
100.0
h/views.py
32
100.0
h/buildext.py
Jobs
ID Job ID Ran Files Coverage
1 9887.1 25 Jan 2016 02:36PM UTC 0
70.27
Travis Job 9887.1
Source Files on build 9887
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9887
  • bd265f3a on github
  • Prev Build on decouple_app_template_from_pyramid (#9882)
  • Next Build on decouple_app_template_from_pyramid (#9889)
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