Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): run linter in parallel and only on node 10
- Loading branch information
Showing
2 changed files
with
9 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,23 +1,19 @@ | |||
language: node_js | language: node_js | ||
sudo: false | sudo: false | ||
node_js: | node_js: [10, 9, 8, 7, 6, 5, 4] | ||
- "10" | |||
- "9" | |||
- "8" | |||
- "7" | |||
- "6" | |||
- "5" | |||
- "4" | |||
before_script: | before_script: | ||
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.6.6.tgz | - wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.6.6.tgz | ||
- tar -zxvf mongodb-linux-x86_64-3.6.6.tgz | - tar -zxvf mongodb-linux-x86_64-3.6.6.tgz | ||
- mkdir -p ./data/db/27017 | - mkdir -p ./data/db/27017 | ||
- mkdir -p ./data/db/27000 | - mkdir -p ./data/db/27000 | ||
- printf "\n--timeout 8000" >> ./test/mocha.opts | - printf "\n--timeout 8000" >> ./test/mocha.opts | ||
- ./mongodb-linux-x86_64-3.6.6/bin/mongod --fork --dbpath ./data/db/27017 --syslog --port 27017 | - ./mongodb-linux-x86_64-3.6.6/bin/mongod --fork --dbpath ./data/db/27017 --syslog --port 27017 | ||
- sleep 3 | - sleep 2 | ||
script: | matrix: | ||
- npm test | include: | ||
- node tools/checkNodeVersion.js "4.x || 5.x" || npm run lint | - name: "👕Linter" | ||
node_js: 10 | |||
before_script: skip | |||
script: npm run lint | |||
notifications: | notifications: | ||
email: false | email: false |
This file was deleted.
Oops, something went wrong.