andela/codepirates-ah-backend

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: node_js

node_js:
  - 'stable'

cache:
  directories:
    - 'node_modules'

install:
  - npm install

services:
  - postgresql

env:
  global:
    - NODE_ENV=test

before_script:
  - psql -c 'create database authorsheaven_test;' -U postgres

script:
  - npm test

after_success:
  - npm run coveralls