.travis.yml 740 B

1234567891011121314151617181920212223
  1. language: node_js
  2. sudo: false
  3. node_js: [14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4]
  4. install:
  5. - travis_retry npm install
  6. before_script:
  7. - wget http://downloads.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-4.0.2.tgz
  8. - tar -zxvf mongodb-linux-x86_64-ubuntu1604-4.0.2.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-ubuntu1604-4.0.2/bin/mongod --fork --dbpath ./data/db/27017 --syslog --port 27017
  13. - export PATH=`pwd`/mongodb-linux-x86_64-ubuntu1604-4.0.2/bin/:$PATH
  14. - sleep 2
  15. - mongod --version
  16. matrix:
  17. include:
  18. - name: "👕Linter"
  19. node_js: 10
  20. before_script: skip
  21. script: npm run lint
  22. notifications:
  23. email: false