CircleCi
A wrapper for interfacing with the CircleCI API. Additional information can be found in the API reference https://circleci.com/docs/api/v1-reference
Usage
CircleCI requires that you supply some configuration for processing the requests.
Authentication
You can configure the token through
Mix.Config
# config.exs
config :circle_ci,
token: "12345"
Or by setting the environment variable CIRCLECI_TOKEN
Encoding Module
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: PoisonTODO
The following endpoints need to be added
https://circleci.com/docs/api/v1-reference/#new-build-branchhttps://circleci.com/docs/api/v1-reference/#new-buildhttps://circleci.com/docs/api/v1-reference/#add-user-sshhttps://circleci.com/docs/api/v1-reference/#build-artifacts-latest