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