diff --git a/Gemfile b/Gemfile index 54db357..80cbff7 100644 --- a/Gemfile +++ b/Gemfile @@ -19,3 +19,4 @@ source 'https://rubygems.org' gem 'github-pages' gem 'jekyll-paginate' +gem 'html-proofer' diff --git a/travis.yml b/travis.yml new file mode 100644 index 0000000..75b768a --- /dev/null +++ b/travis.yml @@ -0,0 +1,9 @@ +language: ruby +rvm: + - 2.1 +script: + - bundle exec jekyll build + - bundle exec htmlproofer ./_site --only-4xx --check-html --empty-alt-ignore +env: + global: + - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer