From 00773a654439aa4bed684678e00d40dd8a5c2403 Mon Sep 17 00:00:00 2001 From: Anatol Broder Date: Mon, 28 Jul 2014 21:49:14 +0200 Subject: [PATCH] Add Jekyll and Proofer tests --- .travis.yml | 13 +++++++++++++ Gemfile | 6 +++++- _config.yml | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..cd4bdd8 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: ruby +rvm: + - 2.1 + +before_install: + - export NOKOGIRI_USE_SYSTEM_LIBRARIES=true + +script: + - bundle exec jekyll build --drafts + - bundle exec htmlproof ./_site + +notifications: + email: false diff --git a/Gemfile b/Gemfile index b78bb06..a35588d 100644 --- a/Gemfile +++ b/Gemfile @@ -6,4 +6,8 @@ gem 'coderay' gem 'rake' gem 'thor' gem 'activesupport' -gem 'stringex' \ No newline at end of file +gem 'stringex' + +group :test do + gem 'html-proofer' +end diff --git a/_config.yml b/_config.yml index bf1e0f7..c589cd4 100644 --- a/_config.yml +++ b/_config.yml @@ -68,4 +68,4 @@ kramdown: coderay_css: class include: [".htaccess"] -exclude: ["lib", "config.rb", "Gemfile", "Capfile", "README.md", "LICENSE", "Gemfile.lock", "config", "log", "Rakefile", "Rakefile.rb", "tmp", "less", "*.sublime-project", "*.sublime-workspace", "test", "spec", "Gruntfile.js", "package.json", "node_modules"] +exclude: ["lib", "config.rb", "Gemfile", "Capfile", "README.md", "LICENSE", "Gemfile.lock", "config", "log", "Rakefile", "Rakefile.rb", "tmp", "less", "*.sublime-project", "*.sublime-workspace", "test", "spec", "Gruntfile.js", "package.json", "node_modules", "vendor"]