Setup travis ci

This commit is contained in:
Marvin Pohl 2019-03-11 01:36:11 +01:00
parent 7b04082c7c
commit 268541313e
4 changed files with 29 additions and 6 deletions

21
.travis.yml Normal file
View File

@ -0,0 +1,21 @@
language: python
python:
- "3.6"
addons:
apt_packages:
- enchant
- aspell
- aspell-en
- ispell
- iamerican
env:
- BOTO_CONFIG=/dev/null
install:
- pip install -U pip wheel setuptools
- "pip install --no-binary :all: -r testrequirements.txt"
- pip install -r requirements.txt
- pip install -e .
cache:
directories:
- $HOME/.cache/pip
script: "trial buildbot_gitea.test"

View File

@ -1,2 +1 @@
setuptools
buildbot[test]

View File

@ -2,15 +2,17 @@
from distutils.core import setup
VERSION = "0.1.0"
setup(name='buildbot-gitea',
version='0.1.0',
version=VERSION,
description='buildbot plugin for integration with Gitea.',
author='Marvin Pohl',
author_email='marvin@lab132.com',
url='https://lab132.com',
author_email='hello@lab132.com',
url='https://github.com/lab132/buildbot-gitea',
packages=['buildbot_gitea'],
install_requires=[
"buildbot>=2.0.0"
requires=[
"buildbot (>=2.0.0)"
],
entry_points={
"buildbot.webhooks": [

1
testrequirements.txt Normal file
View File

@ -0,0 +1 @@
buildbot[test]