A wrapper for interfacing with the CircleCI API. Additional information can be found in the API reference https://circleci.com/docs/api/v1-reference
CircleCI requires that you supply some configuration for processing the requests.
You can configure the token through
Mix.Config
# config.exs
config :circle_ci,
token: "12345"
Or by setting the environment variable CIRCLECI_TOKEN
CircleCI will default to using the exjsx json module for encoding / decoding. You can alter this behaviour by specifying it in the configuration
# config.exs
config :circle_ci,
json_module: Poison
The following endpoints need to be added
https://circleci.com/docs/api/v1-reference/#new-build-branch https://circleci.com/docs/api/v1-reference/#new-build https://circleci.com/docs/api/v1-reference/#add-user-ssh https://circleci.com/docs/api/v1-reference/#build-artifacts-latest