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

goerz / doctr_versions_menu / 84 / 4
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 26 Feb 2020 08:15PM UTC
Files 5
Run time 1s
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

26 Feb 2020 08:07PM UTC coverage: 98.408% (-0.2%) from 98.635%
TOXENV=py36-test

push

travis-ci

goerz
Generalize test to newer Sphinx versions

Newer versions of Sphinx changed how javascript is included in HTML. In
older version, the script tag had a type="application/javascript"
attribute, in newer, versions, no type is declared. This is because in
HTML5, the type became optional:
https://www.w3schools.com/tags/att_script_type.asp

Some of the tests that were looking for whether the
doctr-versions-menu.js was properly included in the rendered Sphinx
output were written under the assumption that the "type" attribute would
be there. Now, we only check for any reference to
"_static/doctr-versions-menu.js", which should work with any version of
Sphinx/HTML.

309 of 314 relevant lines covered (98.41%)

0.98 hits per line

Source Files on job 84.4 (TOXENV=py36-test)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 75
  • Travis Job 84.4
  • 98c203a6 on github
  • Prev Job for TOXENV=py36-test on master (#79.4)
  • Next Job for TOXENV=py36-test on master (#85.4)
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