Building an Elixir Project (beta)
The features described here are still in development and are subject to change without backward compatibility or migration support.
What This Guide Covers
CI Environment for Elixir Projects
To choose the Elixir VM, declare in your
Note that Elixir has requirements regarding the underlying Erlang OTP Release version.
If the specified OTP Release version (implicity or explicitly) does not meet this requirement, Travis CI will choose one for you.
You can also override this OTP Release choice by adding the
language: elixir elixir: - 1.2.2 otp_release: - 18.2.1
For elixir projects,
otp_release can be given as arrays
to construct a build matrix.
By default, the install command is
mix local.rebar --force # for Elixir 1.3.0 and up mix local.hex --force mix deps.get
and the script command is
The version of Elixir a job is using is available as:
As with the Erlang VM, the version of OTP release a job is using is available as: