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/