jekyll/jekyll — pull request #2605 by alfredxing (2014-07-16 00:10:35+00:00)
Title: Proof site with html-proofer on change

Adds a script to the CI build to proof the Jekyll site if it has been changed in the last commit or PR, as suggested in #2601.

First checks with `git` to see if the `site/` directory has been changed. If it has, then continue, otherwise exit with code 0.

If `html-proofer` is not installed, install its nokogiri dependency with system libraries so it builds a lot faster. Then simply build the site with Jekyll and proof it.