language: node_js
node_js:
  - "5"
services:
  - elasticsearch
before_install:
  - npm config set spin false
install:
  - npm install
  - bundle install --jobs=3 --retry=3 --deployment
before_script:
  - phantomjs --webdriver=4444 &
script:
  - bash tasks/pre-commit
  - bash tasks/tests
  - rake sitemap:generate config=test/config.yaml
  - node_modules/.bin/nsp check
sudo: false
notifications:
  email: false

language: node_js
node_js:
  - "5"
services:
  - elasticsearch
before_install:
  - npm config set spin false
install:
  - npm install
  - bundle install --jobs=3 --retry=3 --deployment
before_script:
  - phantomjs --webdriver=4444 &
script:
  - bash tasks/pre-commit
  - bash tasks/tests
  - rake sitemap:generate config=test/config.yaml
  - "npm uninstall --save wintersmith && npm shrinkwrap && node_modules/.bin/nsp check"
sudo: false
notifications:
  email: false

Exclude Wintersmith from Node Security Proj. check
Exclude Wintersmith from Node Security Proj. check

Wintersmith's dependencies are out of date and vulnerable. However,
Wintersmith isn't exposed to user input at all, so it is okay to
ignore these issues for now.
