UNPKG

740 BYAMLView Raw
1language: node_js
2sudo: false
3node_js: [14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4]
4install:
5 - travis_retry npm install
6before_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
16matrix:
17 include:
18 - name: "👕Linter"
19 node_js: 10
20 before_script: skip
21 script: npm run lint
22notifications:
23 email: false