Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.07 KB

GEM_README.md

File metadata and controls

49 lines (30 loc) · 1.07 KB

${GEM_NAME}

Danger runs during the CI process, and gives you a chance to automate common code review chores.

Build Status

Setup

Enable Danger for your project.

Set DANGER_GITHUB_API_TOKEN in Travis-CI

In Travis-CI, choose Settings and add DANGER_GITHUB_API_TOKEN in Environment Variables. Set the value to the API key for a bot user. See Getting Set Up for more information.

Add Danger

Add ${GEM_NAME} to Gemfile.

gem '${GEM_NAME}', '~> 0.1.0', require: false

Add Dangerfile

Commit a Dangerfile.

danger.import_dangerfile(gem: '${GEM_NAME}')

Add Danger to Travis-CI

Add Danger to .travis.yml.

matrix:
  include:
    - rvm: 2.3.1
      script:
        - bundle exec danger

Commit via a Pull Request

To test things out, make a pull request.

License

MIT License. See LICENSE for details.