Limbo

Experiment in Test && Commit || Revert

Installation

In mix.ex ... add to deps()

  {:limbo, "~> 0.1.5" }

... add to project()

   preferred_cli_env: ["limbo.high": :test, "limbo.low": :test]

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