[buddypress-trac] [BuddyPress Trac] #7209: Fix Travis CI `node_modules` directory cache

buddypress-trac noreply at wordpress.org
Tue Aug 2 03:35:21 UTC 2016


#7209: Fix Travis CI `node_modules` directory cache
------------------------------+-----------------------------
 Reporter:  netweb            |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  needs-patch
------------------------------+-----------------------------
 In r10974 support was added to Travis CI to cache the `node_modules`
 directory

 This currently doesn't cache BP's NPM modules as BP doesn't use the
 standard Travis CI repo layout because of the dependency on WordPress
 develop repo checkout.

 For example: `npm install` [https://travis-
 ci.org/buddypress/BuddyPress/jobs/149001017#L525 here] still took
 `104.60s`, whereas the equivalent WordPress [https://travis-
 ci.org/aaronjorbin/develop.wordpress/jobs/148712751#L220 here] only took
 `5.84s`

 I expect the current size of the caches to be quite small as nothing is
 essentially being cached, after fixing these should be 50-150mb at a
 guess, caches can be managed at: https://travis-
 ci.org/buddypress/BuddyPress/caches

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7209>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list