Based on the excellent dlang-bot.
The Dlang bot is subscribed to all language repositiories and listens to their events. For now it just restart the last build of master repository to trigger a new build.
MASTER_REPO=stonemaster/dlang-tour GITHUB_TOKEN=xyz TRAVIS_TOKEN=abc dub
- the Github Token needs no scopes,
- see the Travis Docs on how to obtain a Token for Travis
It runs on Heroku, new commits to are automatically deployed. See the deploy on Heroku guide if you want to deploy your own bot.