language: node_js
node_js:
    - "8"

script:
    - npm run test
language: node_js
node_js:
    - "8"
env:
    - DB_HOST=localhost
    - DB_NAME=travis_ci_test
    - DB_USER=postit
    - DB_PORT=5432
    - DB_PASS=58683586779d
    - SESS_SECRET=dui8w9837@##&
    - PORT=5000
services:
    - postgresql
before_script:
    - psql -c 'create database travis_ci_test;' -U postgres
    - psql -c "CREATE USER postit WITH PASSWORD '58683586779d';" -U postgres
script:
    - npm run test
Configure postgresql for Travis CI
Configure postgresql for Travis CI
