1
0
mirror of https://github.com/github/choosealicense.com synced 2024-11-05 03:08:51 +01:00

Fix #341 tests that broke post Jekyll 3 upgrade

- explicitly include jekyll-coffeescript needed per
  http://jekyllrb.com/docs/upgrading/2-to-3/
- option to html-proofer to ignore script embeds; uncertain why
  warnings appeared post upgrade as it doesn't seem that either
  jekyll-seo-tag or html-proofer got new versions in
  https://github.com/github/choosealicense.com/pull/339/files but
  suppressed now in any case.
This commit is contained in:
Mike Linksvayer 2016-02-03 09:24:05 -08:00
parent a058281e66
commit 09a17298ab
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ task :test do
sh "bundle exec jekyll build --trace"
Rake::Task["spec"].invoke
HTML::Proofer.new("./_site", :check_html => true,
:validation => { :ignore_script_embeds => true },
:href_swap => { %r{http://choosealicense.com} => "" }).run
end

View File

@ -41,6 +41,7 @@ gems:
- jekyll-sitemap
- jekyll-redirect-from
- jekyll-seo-tag
- jekyll-coffeescript
sass:
sass_dir: _sass