language: node_js
node_js:
  - "0.10"
addons:
  postgresql: "9.3"
script: "npm test"
before_install:
  - npm install -g pg
before_script:
  - psql -c 'create database ripple_rest_test;' -U postgres
env:
  - DATABASE_URL=postgres://postgres:@localhost:5432/ripple_rest_test
notifications:
  email:
    false

language: node_js
node_js:
  - "0.10"
addons:
  postgresql: "9.3"
script: "npm test"
before_install:
  - npm install -g pg
  - psql -c 'create database ripple_rest_test;' -U postgres
env:
  - DATABASE_URL=postgres://postgres:@localhost:5432/ripple_rest_test
notifications:
  email:
    false

Move create test db in Travis to before_install.
[CHORE] Move create test db in Travis to before_install.
