Limbo

Experiment in Test && Commit || Revert

Installation

Add to deps()

{:limbo, "~> 0.1.3" }

then run

  1. mix deps.get
  2. mix deps.compile limbo

In one terminal window run

mix limbo.pull_push This will push commits to the trunk whenever they are ready

In another window run the tests

Basic Usage

MIX_ENV=test mix limbo.high Runs tests. If Tests pass commit to git else NOTHING

Advanced Usage

MIX_ENV=test mix limbo.low Runs tests. If Tests pass commit to git else REVERT

Previous repo

(test-commit-revert)[https://github.com/mwindholtz/test-commit-revert]

References