language: node_js
before_install:
  - npm install -g eslint
  - npm install -g complexity-report
script:
  - eslint .
  - cr . -x /node_modules
  - node unittest-runner.js
services:
  - redis-server
cache:
  directories:
    - node_modules
# http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
sudo: false
deploy:
  provider: heroku
  app: lokki-dev
  on:
    repo: TheSoftwareFactory/lokki-server
  api_key:
    secure: "g6gB8FPrEFIbzRKB16VwpuaObu4m53gnHLG+b5dUXBajVWC6qs2IhxUAH4Hkgo+HMEoWcEYlcbefZx6qNHX0yK6T4nqWoZ1K42BEWQWzQ6J7lk0DCJzOdHG8PM+sjByFphUtOJxasNsjJrfX1gQ9TxrCfSbdtDiP9JXukYGbA7s="

language: node_js
before_install:
  - npm install -g eslint
  - npm install -g complexity-report
script:
  - eslint .
  - cr .
  - node unittest-runner.js
services:
  - redis-server
cache:
  directories:
    - node_modules
# http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
sudo: false
deploy:
  provider: heroku
  app: lokki-dev
  on:
    repo: TheSoftwareFactory/lokki-server
  api_key:
    secure: "g6gB8FPrEFIbzRKB16VwpuaObu4m53gnHLG+b5dUXBajVWC6qs2IhxUAH4Hkgo+HMEoWcEYlcbefZx6qNHX0yK6T4nqWoZ1K42BEWQWzQ6J7lk0DCJzOdHG8PM+sjByFphUtOJxasNsjJrfX1gQ9TxrCfSbdtDiP9JXukYGbA7s="

Revert "Node modules excluded from complexity check"
Revert "Node modules excluded from complexity check"

This reverts commit d2b38678019555f16ecef0c2975ee16e149111fd.
