Building a Erlang project
What This Guide Covers
Erlang builds are not available on the OSX environment.
Choosing OTP releases to test against
language: erlang otp_release: - 18.2.1 - 18.1 - 18.0 - 17.5 - R16B03
Get a complete list of the pre-compiled versions available on the VM by adding
kerl list installations to the
before_script: section of your
.travis.yml. Note that this list does not include releases which are downloaded on demand, such as 18.1 .
Default Test Script
Travis CI by default assumes your project is built using Rebar and uses EUnit. The exact command Erlang builder will use by default is
rebar compile && rebar skip_deps=true eunit
if your project has
Rebar.config files in the repository root. If this is not the case, Erlang builder will fall back to
The Erlang builder on travis-ci.org assumes Rebar is used for dependency management, and runs
to install project dependencies as listed in the
For Erlang projects,
otp_release can be given as arrays
to construct a build matrix.
The version of OTP release a job is using is available as: