Building a Erlang project
What This Guide Covers
Choosing OTP releases to test against
language: erlang otp_release: - 17.1 - R14B02
For precise versions pre-installed on the VM, please consulte “Build system information” in the build log.
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
Because Erlang builder on travis-ci.org assumes Rebar. is used by default, it naturally uses
to installs project’s dependencies as listed in the rebar.config file.
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: