language: ruby
cache: bundler
sudo: required
env:
  - "DB=postgresql"
before_install:
  - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
before_script:
  - phantomjs -v
  - "bundle exec rake --trace fulcrum:setup db:setup"
rvm:
  - 2.2.5
  - 2.3.1
script:
  - "bundle exec rake travis"

language: ruby
cache: bundler
sudo: required
env:
  - "DB=postgresql"
before_install:
  - "npm install -g phantomjs-prebuilt"
  - "phantomjs -v"
  - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
before_script:
  - phantomjs -v
  - "bundle exec rake --trace fulcrum:setup db:setup"
rvm:
  - 2.2.5
  - 2.3.1
script:
  - "bundle exec rake travis"

Add phantomjs 2 installation on CI
Add phantomjs 2 installation on CI
