dwyl / learn-travis

:sunglasses: A quick Travis CI (Continuous Integration) Tutorial for Node.js developers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Speeding up Elixir project build times on Travis CI

nelsonic opened this issue · comments

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