TravisEx

Build Status

Travis-ci API client library for Elixir

API coverage

Entities:

as you can see still a far way to go!

Installation

  1. Add travis_ex to your list of dependencies in mix.exs:

    def deps do

     [{:travis_ex, "~> 0.0.1"}]

    end

  2. Ensure travis_ex is started before your application:

    def application do

     [applications: [:travis_ex]]

    end

Usage

iex> client = TravisEx.Client.new(auth: "bb1568179c33308f4da7dceab")
iex> %{"repo" => %{"last_build_state" => build_state}} = TravisEx.Repos.get "duksis/travis_ex", client
iex> build_state #=> "passed"

License

Released under the MIT license.

Contributing

Start by forking this repo

Then run this command to fetch dependencies and run tests:

MIX_ENV=test mix do deps.get, test

Pull requests are greatly appreciated