We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 597ad34 commit b113a21Copy full SHA for b113a21
.travis.yml
@@ -9,9 +9,15 @@ node_js:
9
- "4.4"
10
- "5.10"
11
sudo: false
12
+cache:
13
+ directories:
14
+ - node_modules
15
before_install:
16
# Setup Node.js version-specific dependencies
17
- "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"
18
+ # Update Node.js modules
19
+ - "test ! -d node_modules || npm prune"
20
+ - "test ! -d node_modules || npm rebuild"
21
script:
22
# Run test script, depending on istanbul install
23
- "test ! -z $(npm -ps ls istanbul) || npm test"
0 commit comments