sudo: false
cache:
  bundler: true
  directories:
    - node_modules
before_install: nvm install
install:
  - bundle
  - npm install
script: bundle exec ./test
env:
  global:
    - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer

sudo: false
cache:
  bundler: true
  directories:
    - node_modules
addons:
  apt:
    packages:
      - oracle-java8-set-default
before_install: nvm install
install:
  - bundle
  - npm install
script: bundle exec ./test
env:
  global:
    - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer

Use Java 8 on Travis
Use Java 8 on Travis
