0
|
1 <?xml version="1.0"?>
|
|
2 <recipe description="My project">
|
|
3
|
|
4 <step id="build" title="Let Distutils build the python code">
|
|
5 <distutils command="build"/>
|
|
6 </step>
|
|
7
|
3
|
8 <step id="test" title="Unit tests"
|
|
9 description="Run unit tests and trace code coverage">
|
|
10 <distutils command="unittest"/>
|
|
11 <reports>
|
|
12 <unittest file="build/test-results.xml"/>
|
|
13 <trace summary="build/test-coverage.txt" coverdir="build/coverage"
|
|
14 include="trac*" exclude="*.tests.*"/>
|
|
15 </reports>
|
|
16 </step>
|
|
17
|
0
|
18 <step id="lint" title="Run Pylint"
|
|
19 description="Run Pylint to check for bad style and potential errors">
|
|
20 <make target="pylint"/>
|
|
21 <reports>
|
3
|
22 <pylint file="build/pylint-results.txt"/>
|
0
|
23 </reports>
|
|
24 </step>
|
|
25
|
3
|
26 <step id="dist" title="Package up distributions">
|
|
27 <distutils command="sdist"/>
|
0
|
28 </step>
|
|
29
|
|
30 </recipe>
|