lint: remove trailing new lines from docs
[express.git] / .travis.yml
blob1230c7e2f952e623510eea93ce98e4406c80abbf
1 language: node_js
2 node_js:
3   - "0.10"
4   - "0.12"
5   - "1.8"
6   - "2.5"
7   - "3.3"
8   - "4.8"
9   - "5.12"
10   - "6.10"
11   - "7.6"
12 matrix:
13   include:
14     - node_js: "8.0"
15       env: "NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly"
16   allow_failures:
17     # Allow the nightly installs to fail
18     - env: "NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly"
19 sudo: false
20 cache:
21   directories:
22     - node_modules
23 before_install:
24   # Remove all non-test dependencies
25   - "npm rm --save-dev connect-redis"
27   # Update Node.js modules
28   - "test ! -d node_modules || npm prune"
29   - "test ! -d node_modules || npm rebuild"
30 script: "npm run-script test-ci"
31 after_script: "npm install coveralls@2.10.0 && cat ./coverage/lcov.info | coveralls"