skip to navigation
skip to content

html5validator 0.1.3

Validate HTML5 files.

Latest Version: 0.2.1

This was written with static site generators like Jekyll and Pelican in mind.

Create a .travis.yml file:

language: python
    - gh-pages
 - "2.7"
 - "pip install html5validator"
script: "html5validator"

in your repository with static html files and get HTML5 validation on every git push. Enable the repository on TravisCI.

You probably don’t want TravisCI to run on the master branch but only on the gh-pages branch. TravisCI has an option (off by default) to run tests only on branches that have a .travis.yml.

User Pages

You can also use this for user pages (repositories of the form <username> where the html files are in the master branch. You only have to remove:

    - gh-pages

from .travis.yml. I am using this on my own user page.

pip install

To facilitate the primary use case with TravisCI, this repository also contains a Python package called html5validator which can be installed using pip:

pip install html5validator

This package uses the backend which is written in Java. Therefore, a Java Runtime Environment must be available on your system.


The backend uses the same validator that powers the backend.

If you are using grunt already, maybe consider using the grunt-html plugin for grunt instead.

File Type Py Version Uploaded on Size
html5validator-0.1.3.tar.gz (md5) Source 2014-09-03 20MB
  • Downloads (All Versions):
  • 92 downloads in the last day
  • 412 downloads in the last week
  • 2019 downloads in the last month