sudo: false

# we need a more recent cmake than travis/linux provides (at least 2.8.9):
# taken from https://github.com/gjtorikian/commonmarker/blob/v0.16.0/.travis.yml
addons:
  apt:
    sources:
      - kalakris-cmake
    packages:
      - cmake

services:
  - postgresql

before_script:
  - psql -c 'create database wikimum_test;' -U postgres

sudo: false

# we need a more recent cmake than travis/linux provides (at least 2.8.9):
# taken from https://github.com/gjtorikian/commonmarker/blob/v0.16.0/.travis.yml
addons:
  apt:
    sources:
      - kalakris-cmake
    packages:
      - cmake

services:
  - postgresql


before_install:
  - travis_retry gem update --system
  - travis_retry gem install bundler

before_script:
  - psql -c 'create database wikimum_test;' -U postgres

Update RubyGems and Bundler on Travis CI
Update RubyGems and Bundler on Travis CI

https://github.com/travis-ci/travis-ci/issues/8969
https://github.com/travis-ci/travis-ci/issues/8978#issuecomment-354036443
https://github.com/rubygems/rubygems/issues/2123