Editing
Continuous Integration with ExUnit
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Setting up CI for Elixir projects === To set up CI for Elixir projects using ExUnit, you can follow these general steps: 1. Choose a CI service: Decide on a CI service that best suits your needs, such as Travis CI, CircleCI, or GitLab CI/CD. 2. Configure the CI environment: Set up your CI environment by specifying the required dependencies, including the Elixir version and any additional packages needed by your project. 3. Define the build script: Create a build script that performs the necessary steps to build and test your Elixir project. This usually involves installing dependencies with mix, compiling the code, and running the ExUnit tests. 4. Configure notifications and artifacts: Optionally, configure notifications to receive build status updates. You may also configure the CI service to store artifacts, such as test coverage reports or build logs. 5. Commit and push your code: Make sure your Elixir codebase is committed and pushed to your version control system, triggering the CI pipeline. 6. Monitor the CI pipeline: Monitor the CI pipeline to ensure that the build and test stages complete successfully. If any failures occur, investigate and fix the issues promptly.
Summary:
Please note that all contributions to Elixir Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Elixir Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information