2019-10-28 16:45:19 +01:00
|
|
|
language: ruby
|
|
|
|
rvm:
|
|
|
|
- 2.5.3
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- gem install html-proofer
|
|
|
|
|
|
|
|
# Assume bundler is being used, therefore
|
|
|
|
# the `install` step will run `bundle install` by default.
|
|
|
|
script:
|
|
|
|
- bundle exec jekyll build
|
2019-12-12 23:38:36 +01:00
|
|
|
- bundle exec htmlproofer ./_site --assume-extension --allow-hash-href --empty-alt-ignore
|
2019-10-28 16:45:19 +01:00
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
|
|
|
|
|
|
|
|
cache: bundler # caching bundler gem packages will speed up build
|