项目作者: carbonfive

项目描述 :
little ci server for git hygiene
高级语言: Elixir
项目地址: git://github.com/carbonfive/funnel.git
创建时间: 2017-09-19T21:54:55Z
项目社区:https://github.com/carbonfive/funnel

开源协议:

下载


Funnel

A little CI service that makes sure your pull request is ready according to the git practices of your team.

Image of Vaporeon

Using funnel on a project

  1. Visit the Funnel app listing: https://github.com/apps/funnel

  2. Click Configure

  3. Select the organization and project(s) you want to use Funnel on

  4. Go to https://funnel-c5.herokuapp.com/repositories to configure your repositories.

That’s it! 😄 Now, funnel will check and watch open pull requests to see if they are ready for merging. It can check to see if your PR is squashed into a single commit, rebased on the base branch, or both!

Developing

Local Setup

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with cd assets && npm install

Now you can visit localhost:4000 from your browser.

Environment

See .envrc-sample for en example.

  1. source .envrc

Running

Start Phoenix server with mix phx.server

Testing

  1. mix test

Deploying

  1. git push heroku master

See it live at https://funnel-c5.herokuapp.com.

References

GitHub API