skip to navigation
skip to content

discord-travisbot 0.0.1.dev20170528

Travis bot for Discord.

A bot for Discord. (Work in progress)

Development

To setup and run the basic steps of the bot.

Requirements

Installation

$ python -m venv .
$ . bin/activate
(travisbot)$ pip install -e .[fast]

Running

The secret token is read from the environment variables.

(travisbot)$ export TOKEN=...
(travisbot)$ python -m travisbot

In a separate process, run ngrok.

$ ngrok http 8888

Then, configure the notifications of your project to point to the given URL: Configuring webhook notifications

Release

Update the version number and clean up the dist directory before-hand.

(travisbot)$ python setup.py register -r https://pypi.python.org/pypi
(travisbot)$ pip install wheel twine
(travisbot)$ rm -f dist/*
(travisbot)$ python setup.py sdist bdist_wheel
(travisbot)$ twine upload dist/*

Travis

Travis CI should handle the release process for us.

 
File Type Py Version Uploaded on Size
discord-travisbot-0.0.1.dev20170528.tar.gz (md5) Source 2017-05-28 5KB
discord_travisbot-0.0.1.dev20170528-py3-none-any.whl (md5) Python Wheel py3 2017-05-28 8KB