Skip to content

Instantly share code, notes, and snippets.

@DavidAntaramian
Last active October 18, 2016 07:20
Show Gist options
  • Save DavidAntaramian/5ac532b6fc6b4c2647f7a48e32da1898 to your computer and use it in GitHub Desktop.
Save DavidAntaramian/5ac532b6fc6b4c2647f7a48e32da1898 to your computer and use it in GitHub Desktop.
machine:
environment:
PATH: "$HOME/.asdf/bin:$HOME/.asdf/shims:$PATH"
MIX_ENV: test
dependencies:
pre:
- if ! asdf | grep version; then git clone https://github.com/asdf-vm/asdf.git ~/.asdf; fi
- asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang.git || true
- asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git || true
- asdf install
- mix local.hex --force
- mix local.rebar --force
override:
- mix deps.get
cache_directories:
- ~/.asdf
- ~/.mix
- deps
- _build
test:
override:
- mix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment