.travis.yml 600 B

123456789101112131415161718192021
  1. language: node_js
  2. sudo: false
  3. node_js: [11, 10, 9, 8, 7, 6, 5, 4]
  4. install:
  5. - travis_retry npm install
  6. before_script:
  7. - wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.6.6.tgz
  8. - tar -zxvf mongodb-linux-x86_64-3.6.6.tgz
  9. - mkdir -p ./data/db/27017
  10. - mkdir -p ./data/db/27000
  11. - printf "\n--timeout 8000" >> ./test/mocha.opts
  12. - ./mongodb-linux-x86_64-3.6.6/bin/mongod --fork --dbpath ./data/db/27017 --syslog --port 27017
  13. - sleep 2
  14. matrix:
  15. include:
  16. - name: "👕Linter"
  17. node_js: 10
  18. before_script: skip
  19. script: npm run lint
  20. notifications:
  21. email: false