Edgewall Software

Changes between Initial Version and Version 1 of Project Build Recipes


Ignore:
Timestamp:
Mar 28, 2013, 10:13:04 AM (11 years ago)
Author:
osimons
Comment:

Created page with 0.6.x recipe.

Legend:

Unmodified
Added
Removed
Modified
  • Project Build Recipes

    v1 v1  
     1= Current Project Build Recipes =
     2
     3A copy of the current recipes to show how our builds are made.
     4
     5== trunk + branches/0.6x ==
     6
     7Recipes are currently identical.
     8
     9{{{
     10#!xml
     11<build xmlns:python="http://bitten.edgewall.org/tools/python"
     12       xmlns:svn="http://bitten.edgewall.org/tools/svn"
     13       xmlns:sh="http://bitten.edgewall.org/tools/sh">
     14  <step id="environment" title="Record environment information" onerror="continue">
     15    <sh:exec executable="python"
     16             args="-c 'import platform; print &quot;Python:&quot;, platform.python_version()'" />
     17    <sh:exec executable="python"
     18             args="-c 'import trac; print &quot;Trac:&quot;, trac.__version__'" />
     19  </step>
     20
     21  <step id="checkout" title="Checkout the code from the repository">
     22    <svn:checkout url="http://svn.edgewall.org/repos/bitten/"
     23        path="${path}" revision="${revision}"/>
     24  </step>
     25
     26  <step id="build" title="Let Distutils build the python code">
     27    <python:distutils command="build"/>
     28  </step>
     29
     30  <step id="test" title="Unit tests"
     31        description="Run unit tests and record code coverage">
     32    <python:distutils command="unittest"/>
     33    <python:unittest file="build/test-results.xml"/>
     34    <python:trace summary="build/test-coverage.txt"
     35                  coverdir="build/coverage"
     36                  include="bitten/*"
     37                  exclude="*/tests/* bitten/upgrades.py bitten/slave_tests/*"/>
     38  </step>
     39
     40  <step id="dist" title="Package up distributions" onerror="ignore">
     41    <python:distutils command="sdist"/>
     42  </step>
     43
     44</build>
     45}}}