dwyl / learn-travis

:sunglasses: A quick Travis CI (Continuous Integration) Tutorial for Node.js developers
MIT License
1.25k stars 352 forks source link

Speeding up Elixir project build times on Travis CI #58

Closed nelsonic closed 5 years ago

nelsonic commented 5 years ago

At present our Elixir section does not advise people to cache dependencies/build on Travis-CI to speed up build time: https://github.com/dwyl/learn-travis#elixir-lang-project image

Add the following lines to .travis.yml file:

cache:
  directories:
    - _build
    - deps

Thanks to @bcardarella of Dockyard for this insight: https://dockyard.com/blog/2015/12/02/speeding-up-elixir-project-build-times-on-travis-ci