Skip to content

Validate with libtidy on travis #1990

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 1 commit 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
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ rvm: 2.6.2
cache: bundler
env:
- TASK=ci
before_install: gem install bundler:2.0.1
before_install:
- gem install bundler:2.0.1
- 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 $TASK
# Notifications, used by our Gitter channel.
notifications:
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
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,17 @@ GEM
sq_mini_racer (0.2.4.sqreen2)
sqreen (1.17.0)
sq_mini_racer (~> 0.2.4.sqreen2)
tidy_ffi (0.1.6)
tidy_ffi (1.0.0)
ffi (~> 1.2)
unicorn (5.5.0)
kgio (~> 2.6)
raindrops (~> 0.7)
validate-website (1.9.2)
validate-website (1.9.3)
crass (~> 1)
paint (~> 2)
slop (~> 4.6)
spidr (~> 0.6)
tidy_ffi (~> 0.1)
tidy_ffi (~> 1.0)
w3c_validators (~> 1.3)
w3c_validators (1.3.4)
json (>= 1.8)
Expand All @@ -108,7 +108,7 @@ DEPENDENCIES
spidr (~> 0.6)
sqreen
unicorn
validate-website (~> 1.6)
validate-website (~> 1.9)

RUBY VERSION
ruby 2.6.2p48
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ LANGUAGES = %w[bg de en es fr id it ja ko pl pt ru tr vi zh_cn zh_tw]
CONFIG = "_config.yml"

task :default => [:build]
task :ci => [:test, :build]
task :ci => [:test, :build, 'check:markup']

desc "Build the Jekyll site"
task :build do
Expand Down