Local Pipelines parses your bitbucket-pipelines.yml and runs it locally using
This supports mercurial and git.
You can easily install it with a simple
pip install -U --user local-pipelines Once that's done make sure ~/.local/bin is in your $PATH.
You can run your your bitbucket-pipelines.yml from the working directory via:
If you want to run it from another directory you can use
pipelines -f /path/to/bitbucket-pipelines.yml Additional environment variable support and need to investigate pipelines a bit
more to make sure everything looks the same.