language: ruby

rvm:
  - 2.2.5

before_install:
  - nvm install node
  - npm install

  # Use https (public access) instead of git for git-submodules.
  - sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
  - git submodule update --init --recursive

script:
  - npm test && npm run lint && bundle exec rake

git:
  submodules: false

env:
  global:
    - NOKOGIRI_USE_SYSTEM_LIBRARIES=true

sudo: false

language: ruby

rvm:
  - 2.2.5

before_install:
  - nvm install node
  - npm install

script:
  - ./scripts/download-readmes.js
  - npm test && npm run lint && bundle exec rake

git:
  submodules: false

env:
  global:
    - NOKOGIRI_USE_SYSTEM_LIBRARIES=true

sudo: false

Remove submodule stuff from Travis
Remove submodule stuff from Travis

