From 36154b2616272978d28251bd719986b122f7d205 Mon Sep 17 00:00:00 2001 From: Lucas Cimon Date: Wed, 13 Feb 2019 22:09:04 +0100 Subject: [PATCH] Ignoring html5validator only appearing on Travis CI --- .travis.yml | 4 ++++ run.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a34a1f9..9820a82 100755 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,9 @@ language: python python: 3.6 +cache: + directories: + - "$HOME/.cache/pip" + - node_modules install: - ./run.sh install - ./run.sh install_dev diff --git a/run.sh b/run.sh index 7e90c9c..c48db90 100755 --- a/run.sh +++ b/run.sh @@ -33,7 +33,7 @@ test_ludochaordic () { # Too many missing img alt attributes in thoses: rm output/street-art-and-hedonogeolostism-in-london.html output/variante-2-joueurs-pour-bang-le-jeu-de-des.html - html5validator --root output/ --ignore-re='.*(Element "style" not allowed as child of element.*|Text not allowed in element "iframe" in this context.|Attribute "allow" not allowed on element "iframe" at this point.|No "p" element in scope but a "p" end tag seen.|End tag "p" implied, but there were open elements.|Unclosed element "a".|End tag "div" seen, but there were open elements.)' # issue with pelican renderer:

contains legally only inline-/inline-block-elements + html5validator --root output/ --ignore-re='.*(Element "eof" not allowed as child of element "p" in this context.|Element "style" not allowed as child of element.*|Text not allowed in element "iframe" in this context.|Attribute "allow" not allowed on element "iframe" at this point.|No "p" element in scope but a "p" end tag seen.|End tag "p" implied, but there were open elements.|Unclosed element "a".|End tag "div" seen, but there were open elements.)' # issue with pelican renderer:

contains legally only inline-/inline-block-elements cp ../pelican-mg/.htmlhintrc output/ htmlhint output/