It took me a few hits to make Travis CI and my Addict lib to flow smoothly, so here’s the full instructions to set it up:

Go to Travis CI homepage and sign in with github. Enable the repository you wish to add to Travis via the slider (pretty straightforward UI!).

Add .travis.yml to the root of your repository with the following content:

Take into consideration that my mix.exs is receiving the MIX_ENV var and adding the required libs accordingly. If you don’t need this, feel free to remove MIX_ENV=test from the YAML file!

Found it useful? Check out my other Elixir posts :)