Thanks @levlaz. Agreed with @DavidAntaramian. First class Elixir support starts with first class support for Erlang. I’ve completely given up on installing Erlang 19 on CircleCI and I’m waiting for CircleCI to provide a solution. Specifying
erlang_otp: 18.3 or
19.0.2 would be great. I don’t know what the default Erlang version should be at this time.
Defaulting to the latest stable version of Elixir if none is specified sounds good. Again, it should be possible to specify a version in the machine configuration. Inference can be based on the existence of a
mix.exs file in the root of the repository under test.
The default for getting dependencies for Elixir should be along these lines:
dependencies: cache_directories: - deps - _build override: - mix local.hex --force - mix local.rebar --force - mix deps.get - mix deps.compile
As far as running tests, I would prefer the default be the following, though I can’t speak for the Elixir community as a whole.
test: override: - MIX_ENV=test mix do compile --warnings-as-errors, test
There should be no need to run migrations for a properly configured Ecto or Phoenix app as the
aliases configuration in the
mix.exs file should cause
test to do that.
"test": ["ecto.create --quiet", "ecto.migrate", "test"]
Thanks again. Really looking forward to Elixir support from Circle.