language: node_js
node_js:
- '10'
sudo: required
addons:
  apt:
    packages:
    - oracle-java8-set-default
before_install:
- curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.5.4.deb
- sudo dpkg -i --force-confnew elasticsearch-6.5.4.deb
- sudo service elasticsearch start
- npm install -g npm@5
- npm install -g greenkeeper-lockfile@1
- npm config set spin false
- rvm install 2.6.0
install:
- npm install
- bundle install --jobs=3 --retry=3 --deployment
before_script:
- phantomjs --webdriver=4444 &
- greenkeeper-lockfile-update
script:
- bash tasks/pre-commit
- bash tasks/tests
- rake sitemap:generate config=test/config.yaml
- greenkeeper-lockfile-upload
notifications:
  email: false
env:
  global:
    secure: B/PY1kIs+hWun4PuaCrDbpPODxB8OGH8+fLXHV34t3ABbfg73FYdGvW0iak8kLFI9HmHVRsJ7XAq5v5BZPn46FGLtmBlPFTXBMmeYO12aa/WM/rfEZ6+jNNzT/nuwbfk9A+TMPE3t4ulOjvhqDn065J4q836TyXoQj227iQQoFs=

language: node_js
node_js:
- '10'
sudo: required
addons:
  apt:
    packages:
    - oracle-java8-set-default
before_install:
- curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.5.4.deb
- sudo dpkg -i --force-confnew elasticsearch-6.5.4.deb
- sudo service elasticsearch start
- npm install -g npm@5
- npm install -g greenkeeper-lockfile@1
- npm config set spin false
- rvm install 2.6.0
install:
- npm install
- bundle update --bundler
- bundle install --jobs=3 --retry=3 --deployment
before_script:
- phantomjs --webdriver=4444 &
- greenkeeper-lockfile-update
script:
- bash tasks/pre-commit
- bash tasks/tests
- rake sitemap:generate config=test/config.yaml
- greenkeeper-lockfile-upload
notifications:
  email: false
env:
  global:
    secure: B/PY1kIs+hWun4PuaCrDbpPODxB8OGH8+fLXHV34t3ABbfg73FYdGvW0iak8kLFI9HmHVRsJ7XAq5v5BZPn46FGLtmBlPFTXBMmeYO12aa/WM/rfEZ6+jNNzT/nuwbfk9A+TMPE3t4ulOjvhqDn065J4q836TyXoQj227iQQoFs=

Update bundler on Travis CI
Update bundler on Travis CI

Our lockfile specifies a version of Bundler that is newer than the Travis CI VMs have