.travis.yml
499 Bytes
language: node_js
sudo: false
node_js:
- "9"
- "8"
- "7"
- "6"
- "5"
- "4"
before_script:
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.15.tgz
- tar -zxvf mongodb-linux-x86_64-3.0.15.tgz
- mkdir -p ./data/db/27017
- mkdir -p ./data/db/27000
- ./mongodb-linux-x86_64-3.0.15/bin/mongod --storageEngine mmapv1 --fork --nopreallocj --dbpath ./data/db/27017 --syslog --port 27017
script:
- npm test
- npm run lint
- npm run nsp
notifications:
email: false