sudo: false

rvm:
  - 2.5.1

language: ruby

cache: bundler

before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

sudo: false

rvm:
  - 2.5.1

language: ruby

cache: bundler

addons:
  firefox: 54.0

before_install:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - wget https://github.com/mozilla/geckodriver/releases/download/v0.18.0/geckodriver-v0.18.0-linux64.tar.gz
  - mkdir geckodriver
  - tar -xzf geckodriver-v0.18.0-linux64.tar.gz -C geckodriver
  - export PATH=$PATH:$PWD/geckodriver

Install Geckodriver and Firefox in Travis CI.
Install Geckodriver and Firefox in Travis CI.
