Skip to content

Validate with libtidy on travis #1420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ sudo: false
rvm: 2.5.1
cache:
bundler: true
script: bundle exec rake ci
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget https://github.com/htacg/tidy-html5/releases/download/5.4.0/tidy-5.4.0-64bit.deb; sudo apt-get remove '^libtidy.*'; sudo dpkg -i tidy-5.4.0-64bit.deb; fi
script:
- bundle exec rake ci
- bundle exec rake check:markup
# Notifications, used by our Gitter channel.
notifications:
webhooks:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ end
group :development do
gem 'minitest'
gem 'spidr', '~> 0.6'
gem 'validate-website', '~> 1.6'
gem 'validate-website', '~> 1.9'
end
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ DEPENDENCIES
spidr (~> 0.6)
sqreen
unicorn
validate-website (~> 1.6)
validate-website (~> 1.9)

RUBY VERSION
ruby 2.5.1p57
Expand Down