language: ruby
rvm:
  - 2.2.3
  - 2.2.2
  - 2.1.5
  - jruby
  - rbx

addons:
  postgresql: "9.3"

services:
  - postgresql

before_script:
  - psql -c 'create database dummy_test;' -U postgres
  - bin/setup
  - bin/test

language: ruby
rvm:
  - 2.2.3
  - 2.2.2
  - 2.1.5
  - jruby
  - rbx

addons:
  postgresql: "9.3"

services:
  - postgresql

before_script:
  - psql -c 'create database dummy_test;' -U postgres
  - bin/setup

script: bin/test
Move test script from before_script and use as main test
Move test script from before_script and use as main test
