forked from Amwam/Jenkins-Alfred-Workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpavement.py
More file actions
31 lines (23 loc) · 652 Bytes
/
pavement.py
File metadata and controls
31 lines (23 loc) · 652 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from paver.easy import *
from paver.setuputils import setup
setup(
name="Jenkins-Alfred-Workflow",
packages=['jenkins_workflow'],
version="1.0",
url="http://www.amwam.me/",
author="Amit Shah",
author_email="amitshah@oneuk.com"
)
@task
@needs(["distutils.command.sdist"])
def sdist():
"""Generate docs and source distribution."""
pass
@task
@needs('unit_tests')
def default():
"""Default tasks to execute when running paver from the command line."""
@task
def unit_tests():
"""Runs all unit tests under the test/unit folder structure."""
sh("nosetests test/unit --with-cov --cov-report term-missing")