Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Add node_modules to travis cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Aug 8, 2016
1 parent e39eec9 commit f118abf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ language: node_js
sudo: false
node_js:
- "6"
cache:
directories:
- node_modules
env:
global:
- BIN="node" ISTANBUL=false
Expand Down Expand Up @@ -32,5 +35,5 @@ before_install:
- "npm i -g npm@\"^2.0.0\""
script:
- "[ $ISTANBUL == false ] || (istanbul cover -x \"**/vendor/**\" --report lcovonly ./test/test.js && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage) || true"
- "[ $ISTANBUL == true ] || cd ./test"
- "[ $ISTANBUL == true ] || cd ./test"
- "[ $ISTANBUL == true ] || $BIN ./test.js"

0 comments on commit f118abf

Please sign in to comment.