Skip to content

kinglabrador23/travisbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis Bot

Build Status

PyPi Downloads

GitHub Stars

Documentation Status

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.

Bibliography

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%