Setup travis ci
This commit is contained in:
parent
7b04082c7c
commit
268541313e
21
.travis.yml
Normal file
21
.travis.yml
Normal 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"
|
|
@ -1,2 +1 @@
|
||||||
setuptools
|
setuptools
|
||||||
buildbot[test]
|
|
||||||
|
|
12
setup.py
12
setup.py
|
@ -2,15 +2,17 @@
|
||||||
|
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
|
|
||||||
|
VERSION = "0.1.0"
|
||||||
|
|
||||||
setup(name='buildbot-gitea',
|
setup(name='buildbot-gitea',
|
||||||
version='0.1.0',
|
version=VERSION,
|
||||||
description='buildbot plugin for integration with Gitea.',
|
description='buildbot plugin for integration with Gitea.',
|
||||||
author='Marvin Pohl',
|
author='Marvin Pohl',
|
||||||
author_email='marvin@lab132.com',
|
author_email='hello@lab132.com',
|
||||||
url='https://lab132.com',
|
url='https://github.com/lab132/buildbot-gitea',
|
||||||
packages=['buildbot_gitea'],
|
packages=['buildbot_gitea'],
|
||||||
install_requires=[
|
requires=[
|
||||||
"buildbot>=2.0.0"
|
"buildbot (>=2.0.0)"
|
||||||
],
|
],
|
||||||
entry_points={
|
entry_points={
|
||||||
"buildbot.webhooks": [
|
"buildbot.webhooks": [
|
||||||
|
|
1
testrequirements.txt
Normal file
1
testrequirements.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
buildbot[test]
|
Loading…
Reference in New Issue
Block a user