Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/duksis/travis_ex
Travis-ci API client library for Elixir
https://github.com/duksis/travis_ex
Last synced: 18 days ago
JSON representation
Travis-ci API client library for Elixir
- Host: GitHub
- URL: https://github.com/duksis/travis_ex
- Owner: duksis
- License: mit
- Created: 2016-02-18T09:02:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-02-18T13:54:24.000Z (over 8 years ago)
- Last Synced: 2024-09-24T11:19:19.881Z (about 2 months ago)
- Language: Elixir
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TravisEx
[![Build Status](https://travis-ci.org/duksis/travis_ex.svg?branch=master)](https://travis-ci.org/duksis/travis_ex)
[Travis-ci API](https://docs.travis-ci.com/api) client library for Elixir
## API coverage
[Entities:](https://docs.travis-ci.com/api?http#entities)
* [ ] Accounts
* [ ] Annotations
* [ ] Branches
* [ ] Broadcasts
* [ ] Builds
* [ ] Caches
* [ ] Commits
* [ ] Hooks
* [ ] Jobs
* [ ] Logs
* [ ] Permissions
* [ ] Repository Keys
* [x] Repositories
* [ ] Requests
* [ ] Settings: General
* [ ] Settings: Environment Variables
* [ ] Settings: SSH Key
* [ ] Usersas 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"}]
end2. Ensure travis_ex is started before your application:
def application do
[applications: [:travis_ex]]
end## Usage
```iex
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](LICENSE).
## Contributing
Start by forking this repo
Then run this command to fetch dependencies and run tests:
```console
MIX_ENV=test mix do deps.get, test
```Pull requests are greatly appreciated