Created
June 15, 2015 13:02
-
-
Save HashNuke/a1c19ac969571d47bf98 to your computer and use it in GitHub Desktop.
expected CircleCI config-for-elixir
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
machine: | |
environment: | |
PATH: "$HOME/.asdf/bin:$HOME/.asdf/shims:$PATH" | |
services: | |
- redis | |
dependencies: | |
cache_directories: | |
- ~/.asdf | |
pre: | |
- if ! asdf | grep version; then git clone https://github.com/HashNuke/asdf.git ~/.asdf; fi | |
- asdf plugin-add erlang https://github.com/HashNuke/asdf-erlang.git | |
- asdf plugin-add elixir https://github.com/HashNuke/asdf-elixir.git | |
- asdf install erlang ${erlang_version} | |
- asdf install elixir ${elixir_version} | |
- yes | mix deps.get | |
- yes | mix local.rebar | |
test: | |
override: | |
- mix test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment