An example webhook application using Sinatra to accept and process webhooks from Travis CI.
- Clone the repository
- Create a Heroku app
- Fetch your Travis CI user token from the profile page
- Set the TRAVIS_USER_TOKEN environment variable on the Heroku app
Or, in direct commands:
- git clone git://github.com/travis-ci/webhook-example.git
- cd webhook-example
- heroku create
- heroku config:set TRAVIS_USER_TOKEN=
- git push heroku