language: ruby

rvm:
  - 2.2
  - 2.1
  - 2.0.0

addons:
  postgresql: "9.3"

before_script:
  - psql -c 'CREATE DATABASE safer_migrations_test;' -U postgres

script:
  - bundle exec rspec spec
  - bundle exec rubocop

env:
  global:
    - "DATABASE_URL=postgres://postgres@localhost/safer_migrations_test"
  matrix:
  - "ACTIVERECORD_VERSION=4.0.13"
  - "ACTIVERECORD_VERSION=4.1.10"
  - "ACTIVERECORD_VERSION=4.2.2"

language: ruby

rvm:
  - 2.3.0
  - 2.2
  - 2.1
  - 2.0.0

addons:
  postgresql: "9.3"

before_script:
  - psql -c 'CREATE DATABASE safer_migrations_test;' -U postgres

script:
  - bundle exec rspec spec
  - bundle exec rubocop

env:
  global:
    - "DATABASE_URL=postgres://postgres@localhost/safer_migrations_test"
  matrix:
  - "ACTIVERECORD_VERSION=4.0.13"
  - "ACTIVERECORD_VERSION=4.1.10"
  - "ACTIVERECORD_VERSION=4.2.2"

Add Ruby 2.3 to Travis
Add Ruby 2.3 to Travis
