From 2a67f298f2023d4adfa45378a7ae8fe2445de63f Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Fri, 9 Oct 2015 13:30:11 +0300 Subject: [PATCH] .travis.yml: initial html5validation Currently it's forced to be true, because it fails too much due to the validator being old and not understanding Upgrade Insecure Requests. --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3f2e864..5dd72f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,11 @@ language: ruby sudo: false -script: "set -e && gem install github-pages && jekyll build --drafts" +script: + - "gem install github-pages" + - "jekyll build --drafts" + "python2 --version && python2 -m pip --version" + - "python2 -m pip install html5validator --user --upgrade" + - "~/.local/bin/html5validator --root _site/|true" rvm: 2.1 notifications: email: false