language: ruby
ruby:
- 2.1
install:
- npm install
- sh -e /etc/init.d/xvfb start
- webdriver-manager update
script:
- jekyll serve --detach
- npm test
env:
  global:
  - NOKOGIRI_USE_SYSTEM_LIBRARIES=true
  - DISPLAY=:99.0
branches:
  only:
  - gh-pages

language: ruby
ruby:
- 2.1
install:
- npm install
- sh -e /etc/init.d/xvfb start
- webdriver-manager update
script:
- jekyll serve --detach
- npm test
env:
  global:
  - NOKOGIRI_USE_SYSTEM_LIBRARIES=true
  - DISPLAY=:99.0
branches:
  only:
  - gh-pages
cache:
  bundler: true
  directories:
  - node_modules

Enable caching for a repository.
Enable caching for a repository.
