language: node_js
node_js:
  - "stable"
branches:
  only:
    - travis
install:
  - npm install
script:
  - npm test
cache:
  -npm install
services:
  - postgresql
before_script:
  - createuser postgres -s -U postgres
  - createdb postit_dev --username=postgres
  - sequelize db:migrate
after_success:
- npm run coveralls
after_script: 
  - nyc npm test && nyc report --reporter=text-lcov | coveralls
language: node_js
node_js:
  - "stable"
branches:
  only:
    - travis
install:
  - npm install
script:
  - npm test
cache:
  -npm install
services:
  - postgresql
before_script:
  - sequelize db:migrate
after_success:
- npm run coveralls
after_script: 
  - nyc npm test && nyc report --reporter=text-lcov | coveralls
Remove before_script commands causing Travis fail
Remove before_script commands causing Travis fail
