121 | | !ToDo: Write a step to parse/store the results of Selenium's {{{HandleResults.py}}} |
122 | | {{{ |
123 | | <step id="lint" description="Run PyLint"> |
124 | | <python:exec module="pylint.lint" output="pylint-report.txt" args="/var/www/trac/sahana3/bzr"/> |
125 | | <python:pylint file="pylint-report.txt" /> |
126 | | </step> |
127 | | }}} |
128 | | !ToDo: Amend so that it can find the {{{gluon}}} module (or configure to not follow this dependency):[[BR]] |
129 | | {{{ImportError: Unable to find module for modules/s3/s3validators.py in /tmp/bittenA787wC/build_Trunk_1}}}[[BR]] |
130 | | !ToDo: Fix Windows path (NB plain 'bzr' fails too, even if we're in the folder up from that): |
131 | | {{{F: 1: No module named /var/www/trac/sahana3/bzr}}} |
132 | | We need to write a {{{build/test-results.xml}}} for this one (& it also wants a {{{setup.py}}}?): |
133 | | {{{ |
134 | | <step id="test" description="Run unit tests"> |
135 | | <python:distutils command="unittest"/> |
136 | | <python:unittest file="build/test-results.xml"/> |
137 | | <python:trace summary="build/test-coverage.txt" coverdir="build/coverage" include="trac*" exclude="*.tests.*"/> |
138 | | </step> |
139 | | }}} |
140 | | This one is pointless for us as we don't build anything using a {{{setup.py}}}: |
141 | | {{{ |
142 | | <step id="build" description="Compile to byte code"> |
143 | | <python:distutils command="build"/> |
144 | | </step> |
145 | | }}} |