language: node_js
node_js:
  - 6
# NodeJS v4+ requires gcc 4.8
# https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements
env:
  - NODE_ENV=travis CXX="g++-4.8" CC="gcc-4.8"
services:
  - mongodb
sudo: false
# gcc 4.8 requires ubuntu-toolchain-r-test
addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    - mongodb-upstart
    - mongodb-3.2-precise
    packages:
    - g++-4.8
    - gcc-4.8
    - clang
    - graphicsmagick
    - mongodb-org-server
    - mongodb-org-shell
before_install:
  - gem update --system
  - npm i nsp -g
  - npm i snyk -g
before_script:
  - mongo --version
  - mongod --version
  - snyk test
after_script:
  - nsp check
notifications:
  slack:
    secure: XRMYG9Hf+bJjMSHHXN0XeGT4ZhSP+oCHBUWmjBwxO0p+VORBOEZvlh/2OvxingFuzLGOXFeOPr1g91G+OgiCGR6GxaDpf680lEjk8ESTJ4oECv0aO2NQEZWYR4peiLRtBmJZTCSsKXDY21nrDHiKOaMQyPJqbzkIrTBMnK/YJpg=

language: node_js
node_js:
  - 6
# NodeJS v4+ requires gcc 4.8
# https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements
env:
  - NODE_ENV=travis CXX="g++-4.8" CC="gcc-4.8"
services:
  - mongodb
sudo: false
# gcc 4.8 requires ubuntu-toolchain-r-test
addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    - mongodb-upstart
    - mongodb-3.2-precise
    packages:
    - g++-4.8
    - gcc-4.8
    - clang
    - graphicsmagick
    - mongodb-org-server
    - mongodb-org-shell
before_install:
  - gem update --system
  - npm i nsp -g
before_script:
  - mongo --version
  - mongod --version
after_script:
  - nsp check
notifications:
  slack:
    secure: XRMYG9Hf+bJjMSHHXN0XeGT4ZhSP+oCHBUWmjBwxO0p+VORBOEZvlh/2OvxingFuzLGOXFeOPr1g91G+OgiCGR6GxaDpf680lEjk8ESTJ4oECv0aO2NQEZWYR4peiLRtBmJZTCSsKXDY21nrDHiKOaMQyPJqbzkIrTBMnK/YJpg=

Remove Snyk from Travis CI
Remove Snyk from Travis CI

This was supposed to fail only when PR is trying to introduce new
vulnerable packages, but it fails on every commit regardless.
