Codeship
interact with Codeship
Installation
Add this line to your application's Gemfile:
gem 'codeship'
And then execute:
$ bundle
Or install it yourself as:
$ gem install codeship
Usage
Check the latest Build
project_status = Codeship::Status.new "my_project_uuid"
project_status.status #=> :success
Check the latest Build on a specific branch
project_status = Codeship::Status.new "my_project_uuid", branch: "development"
project_status.status #=> :error
States
:branchnotfound, :error, :ignored, :projectnotfound, :success, :testing, :waiting
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request