Permalink
Browse files

chore(ci): run linter in parallel and only on node 10

  • Loading branch information...
Fonger committed Aug 10, 2018
1 parent 10e0c81 commit a0c93b1da687611bd7597759f1997de8de0a357f
Showing with 9 additions and 20 deletions.
  1. +9 −13 .travis.yml
  2. +0 −7 tools/checkNodeVersion.js
View
@@ -1,23 +1,19 @@
language: node_js
sudo: false
node_js:
- "10"
- "9"
- "8"
- "7"
- "6"
- "5"
- "4"
node_js: [10, 9, 8, 7, 6, 5, 4]
before_script:
- wget http://fastdl.mongodb.org/linux/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/27000
- printf "\n--timeout 8000" >> ./test/mocha.opts
- ./mongodb-linux-x86_64-3.6.6/bin/mongod --fork --dbpath ./data/db/27017 --syslog --port 27017
- sleep 3
script:
- npm test
- node tools/checkNodeVersion.js "4.x || 5.x" || npm run lint
- sleep 2
matrix:
include:
- name: "👕Linter"
node_js: 10
before_script: skip
script: npm run lint
notifications:
email: false
email: false

This file was deleted.

Oops, something went wrong.

0 comments on commit a0c93b1

Please sign in to comment.