Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add npm prune to Travis CI #1663

Merged
merged 1 commit into from
Jun 15, 2016
Merged

Add npm prune to Travis CI #1663

merged 1 commit into from
Jun 15, 2016

Commits on Jun 8, 2016

  1. Add npm prune to Travis CI

    > Via https://docs.npmjs.com/cli/prune
    > > This command removes "extraneous" packages. If a package name is provided, then only packages matching one of the supplied names are removed.
    > >
    > > Extraneous packages are packages that are not listed on the parent package's dependencies list.
    
    The reason for adding this is to go hand in hand with the Travis CI caching implemented a while ago, if you don't run `npm prune` periodically then older packages will not be removed from the cache and the cache will continue to grow in size.
    
    I suspect if you compare the Travis CI cache size between master and this PR, this PR will be significantly smaller. (You could also inspect the cache with Travis CI CLI I think)
    
    https://travis-ci.org/roots/sage/caches
    ntwb committed Jun 8, 2016
    Configuration menu
    Copy the full SHA
    07aec24 View commit details
    Browse the repository at this point in the history