.travis.yml: fix validation

ignore the Upgrade Insecure Requests error
This commit is contained in:
Aminda Suomalainen 2015-10-10 08:02:11 +03:00
parent 502cb9c571
commit dca0df4730

View File

@ -1,11 +1,11 @@
language: ruby language: ruby
sudo: false sudo: false
script: script:
- "gem install github-pages" - gem install github-pages
- "jekyll build --drafts" - jekyll build --drafts
"python2 --version && python2 -m pip --version" - python2 --version && python2 -m pip --version
- "python2 -m pip install html5validator --user --upgrade" - python2 -m pip install html5validator --user --upgrade
- "~/.local/bin/html5validator --root _site/|true" - ~/.local/bin/html5validator --root _site/ --ignore 'Bad value “Content-Security-Policy” for attribute “http-equiv” on element “meta”.'
rvm: 2.1 rvm: 2.1
notifications: notifications:
email: false email: false