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
It runs on Heroku, new commits to are automatically deployed. See the deploy on Heroku guide if you want to deploy your own bot.