Skip to content

Commit

Permalink
Only check for 4xx errors
Browse files Browse the repository at this point in the history
Other errors we are not concerned about
  • Loading branch information
studioromeo committed Mar 7, 2016
1 parent a817b28 commit 9d222a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: ruby
sudo: false
rvm:
- 2.1
- 2.2
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
Expand Down
9 changes: 6 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
require 'html/proofer'

task :default do
sh "bundle exec scss-lint"
sh "bundle exec jekyll build"
HTML::Proofer.new("./_site").run
sh "bundle exec scss-lint"
sh "bundle exec jekyll build"

HTML::Proofer.new("./_site", {
:only_4xx => true,
}).run
end

0 comments on commit 9d222a6

Please sign in to comment.