language: ruby
rvm:
  - 2.3.1

branches:
  only:
    - master

addons:
  postgresql: '9.5'

cache:
  bundler: true

before_script:
  - psql -c 'create database cdx_dummy_test;' -U postgres
  - bin/rails db:migrate RAILS_ENV=test

script:
  - bundle exec rspec --format doc
language: ruby
rvm:
  - 2.3.1
  - 2.4.0

branches:
  only:
    - master

addons:
  postgresql: '9.5'

cache:
  bundler: true

before_script:
  - psql -c 'create database cdx_dummy_test;' -U postgres
  - bin/rails db:migrate RAILS_ENV=test

script:
  - bundle exec rspec --format doc
Test cdx against ruby 2.4
Test cdx against ruby 2.4
