Skip to content

Commit

Permalink
Update HTML Proofer and use without bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentGoderre committed Apr 19, 2017
1 parent 41a6d0b commit 086ab2e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 44 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -8,9 +8,12 @@ env:
global:
- TRAVIS_COMMIT_MSG="$(git log --format=%B --no-merges -n 1)"

before_install:
- rvm install 2.2.2

install:
- ./script/setup
- bundle install
- gem install rake html-proofer

script:
- npm run-script travis_script
Expand Down
4 changes: 0 additions & 4 deletions Gemfile

This file was deleted.

35 changes: 0 additions & 35 deletions Gemfile.lock

This file was deleted.

6 changes: 3 additions & 3 deletions Rakefile
@@ -1,12 +1,12 @@
# encoding: utf-8

require "html/proofer"
require "html-proofer"

task :default => [:test]

task :test do
HTML::Proofer.new("dist/", {
:href_ignore => [
HTMLProofer.check_directory("dist/", {
:url_ignore => [
"#",
# The additional anchor link is picked up from the Geomap JSON, but shouldn't be flagged
"\\\"#\\\"",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"test": "grunt test",
"postinstall": "bower update && grunt init",
"travis_script": "grunt dist test-mocha && bundle exec rake",
"travis_script": "grunt dist test-mocha && rake",
"travis_after_success": "grunt deploy saucelabs"
},
"repository": {
Expand Down

0 comments on commit 086ab2e

Please sign in to comment.