dchest / scrypt-async-js

Fast "async" scrypt implementation in JavaScript
http://dchest.github.io/scrypt-async-js/
BSD 2-Clause "Simplified" License
140 stars 26 forks source link

Speed up travis testing by caching node_modules directory #19

Closed evilaliv3 closed 8 years ago

evilaliv3 commented 8 years ago

TravisCI allows to speed up unit tests by permitting to cache directories.

In relation to scrypt-js library it would be valuable to cache the node_modules directory used by npm.

It would be simply required to add the following lines to .travis.yml:

cache:
  directories:
    - node_modules