DamonOehlman / travis-multirunner

A simple configuration for running (limited) multibrowser tests on travis ci
8 stars 14 forks source link

browser download location vs travis node_module caching #37

Open fippo opened 6 years ago

fippo commented 6 years ago

Pondering whether it is smart to store the browser binaries in node_modules... With travis that can be cached. Which might be desirable for startup time. But putting the browser there might lead to using the wrong version.

Thoughts?

DamonOehlman commented 6 years ago

... not sure on that one, but a caching strategy would be nice.

Looks like they have some information on the travis site:

https://docs.travis-ci.com/user/caching/#Arbitrary-directories

Note the section on caching binaries though - apparently it can be slower than fetching them again:

Large files that are quick to install but slow to download do not benefit from caching, as they take as long to download from the cache as from the original source.

Definitely worth trying to come up with ways to speed things up though.