CrowdHailer / raxx

Interface for HTTP webservers, frameworks and clients
https://hexdocs.pm/raxx
Apache License 2.0
400 stars 29 forks source link

Cache dialyzer artifacts #151

Closed nietaki closed 5 years ago

nietaki commented 5 years ago

In https://travis-ci.org/nietaki/raxx/jobs/453355942 you can see that it works and what the state of _build directory is when it gets cached - it's the plt files and nothing else.

It brings the CI run time from 12 minutes down to 1 minute :tada:

We could overdo the caching and cache the whole _builld and deps directories for an even shorter build time, but I think it would be overkill - it would expose us to some "unknown unknows"-type problems and make individual CI builds less isolated.

Please merge-squash to hide my commit message babbling ;)

nietaki commented 5 years ago

Travis docs on caching: https://docs.travis-ci.com/user/caching

I'll add an analogous PR to Ace once this gets merged in.