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 c014afc commit e323e2dCopy full SHA for e323e2d
.travis.yml
@@ -9,9 +9,16 @@ 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
+
19
+ # Update Node.js modules
20
+ - "test ! -d node_modules || npm prune"
21
+ - "test ! -d node_modules || npm rebuild"
22
script:
23
# Run test script, depending on istanbul install
24
- "test ! -z $(npm -ps ls istanbul) || npm test"
0 commit comments