From 6029c8d8f090cc98bb8f46986fc16262383796c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 24 Jan 2018 13:44:51 +0100 Subject: Update user guide --- guide/ci.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'guide/ci.html') diff --git a/guide/ci.html b/guide/ci.html index 8ccc12b..5705b07 100644 --- a/guide/ci.html +++ b/guide/ci.html @@ -33,13 +33,13 @@ div.navfooter{margin-bottom:1em}
-

Chapter 20. Continuous integration

Erlang.mk comes with some support for continuous integration, +

Chapter 21. Continuous integration

Erlang.mk comes with some support for continuous integration, aimed at open source projects that need to support more than one specific Erlang/OTP release. (If you target one specific release, check the OTP version pinning Section 12.2, “OTP version pinning” section of the OTP version management -Chapter 12, OTP version management chapter.)

20.1. Configuring Erlang/OTP versions to test

To use the CI plugin you must first configure which versions +Chapter 12, OTP version management chapter.)

21.1. Configuring Erlang/OTP versions to test

To use the CI plugin you must first configure which versions of Erlang/OTP will be used. Erlang.mk provides three separate configuration variables depending on whether you need a normal OTP release, a HiPE-enabled release or an ErLLVM-enabled release.

At the time of writing, this is how you would test against all @@ -48,9 +48,9 @@ latest version of Erlang/OTP, the following could work:

OTP version management
 Chapter 12, OTP version management chapter for more
 information about Erlang/OTP versions and customization of the
-Erlang/OTP builds.

20.2. Running tests across all configured versions

The recommended way to run the ci target is with the option +Erlang/OTP builds.

21.2. Running tests across all configured versions

The recommended way to run the ci target is with the option -k. It will ensure that tests are run for all configured -Erlang/OTP versions, even if there are errors:

$ make ci -k

20.3. Extending the CI targets

The ci target can be extended. For example to run Dialyzer +Erlang/OTP versions, even if there are errors:

$ make ci -k

21.3. Extending the CI targets

The ci target can be extended. For example to run Dialyzer at the end of CI:

ci:: dialyze

Additional setup can be done by extending the ci-setup target. This target is ran before testing each individual Erlang/OTP version.

For example, to ensure dependencies are re-fetched/built -- cgit v1.2.3