diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..fb7bc292d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: ruby +rvm: +- 2.1 + +before_script: + - chmod +x ./cibuild.sh # or do this locally and commit + +# Assume bundler is being used, therefore +# the `install` step will run `bundle install` by default. +script: ./cibuild.sh + +env: + global: + - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer diff --git a/Gemfile b/Gemfile index 9c0465324..73c5a03d3 100644 --- a/Gemfile +++ b/Gemfile @@ -2,4 +2,5 @@ source 'https://rubygems.org' gem 'github-pages' require 'rbconfig' +gem "html-proofer", :platforms => :ruby gem 'wdm', '~> 0.1.0' if RbConfig::CONFIG['target_os'] =~ /mswin|mingw/i diff --git a/_config.yml b/_config.yml index bf673a11d..13ef3614a 100644 --- a/_config.yml +++ b/_config.yml @@ -6,6 +6,9 @@ exclude: - Gemfile.lock - repo-metadata.html - publish.rb + - vendor + - cibuild.sh + - .travis.yml gems: - jekyll-mentions diff --git a/_includes/head.html b/_includes/head.html index 8c131c5dd..1149e329b 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -5,7 +5,7 @@ {{ page.title | xml_escape }} - + diff --git a/_includes/header.html b/_includes/header.html index 4de9fe036..2f7581e83 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -8,16 +8,16 @@ - +