A travis config that can be used to send Telegram messages on new builds
Copy the travis
folder and .travis.yml
to your project (or add the required parameters to your existing config).
Now add the required script parameters values to the TravisCI project's settings page of the project you want to use travis-telegram-bot on:
Name | Required | Default | Example | Description |
---|---|---|---|---|
TELEGRAM_TOKEN | yes | none | 727757207:AABCd6hkska88cs88vds8v79dsv7ds98vd8 |
The token used to authenticate with the Telegram bot. |
CHAT_ID | yes | none | 87547665 |
The chat ID of the chat to send messages to. |
TELEGRAM_BRANCHES | yes | none | ^(dev|master)$ |
The branches for which apks should be built as a regex. |
GITHUB_URL | yes | none | https://github.com/markusressel/travis-telegram-bot |
GitHub project url. |
TRAVIS_URL | yes | none | https://travis-ci.org/markusressel/KodeEditor |
Travis project url. |
Your next PR will build an APK and send it to you via telegram.