language: ruby
cache:
  bundler: true
  directories:
    # Cache the ruby version unsed by RVM: https://docs.travis-ci.com/user/caching/#cache-rvm-ruby-version-for-non-ruby-projects
    - /home/travis/.rvm/
    # Cache html-proofer results. See: https://github.com/gjtorikian/html-proofer#caching-with-travis
    - $TRAVIS_BUILD_DIR/tmp/.htmlproofer

script:
- bundle exec jekyll build
- bundle exec htmlproofer ./_site --check-favicon --check-html --url-ignore /linkedin\.com*/,/codepen\.io*/

env:
  global:
  - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer

language: ruby
cache:
  bundler: true
  directories:
    # Cache html-proofer results. See: https://github.com/gjtorikian/html-proofer#caching-with-travis
    - $TRAVIS_BUILD_DIR/tmp/.htmlproofer

script:
- bundle exec jekyll build
- bundle exec htmlproofer ./_site --check-favicon --check-html --url-ignore /linkedin\.com*/,/codepen\.io*/

env:
  global:
  - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer

Revert "Cache the Ruby version used by RVM"
Revert "Cache the Ruby version used by RVM"

This reverts commit 3b181ee53ca89e393db2b1915bd101581d4dbadd.
