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

language: ruby
rvm:
- 2.4
install:
- bundle install --path vendor/bundle
- npm install protractor
- sh -e /etc/init.d/xvfb start
- webdriver-manager update
script:
- bundle exec jekyll serve --detach
- npm test
- pkill -f jekyll
env:
  global:
  - NOKOGIRI_USE_SYSTEM_LIBRARIES=true
  - DISPLAY=:99.0
branches:
  only:
  - gh-pages

Stop the Jekyll server, it's quite loud
Stop the Jekyll server, it's quite loud
