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"]