Updated deprecated API
[0test.git] / 0test.xml
blob9ccb40a00183e0b03e8eeea1b027cf800956b66b
1 <?xml version="1.0" ?>
2 <?xml-stylesheet type='text/xsl' href='interface.xsl'?>
3 <interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface">
4   <name>0test</name>
5   <summary>test Zero Install programs</summary>
6   <description>
7 Use 0test to run the unit tests for a Zero Install program. You can use this to
8 test released versions or developer snapshots. You can give a selection of
9 versions to test, and you can test against different versions of dependencies to
10 create a matrix of test results.</description>
12   <homepage>http://0install.net/0test.html</homepage>
14   <feed-for interface="http://0install.net/2008/interfaces/0test.xml"/>
16   <release:management xmlns:release="http://zero-install.sourceforge.net/2007/namespaces/0release">
17     <!-- Update the copy of the version number -->
18     <release:action phase="commit-release">sed -i &quot;s/^version = '.*'$/version = '$RELEASE_VERSION'/&quot; 0test</release:action>
19   </release:management>
20   <category>Development</category>
21   <needs-terminal/>
23   <group license="OSI Approved :: GNU General Public License v2" main="0test">
24     <command name="run" path="0test">
25       <runner interface="http://repo.roscidus.com/python/python">
26         <version before="3"/>
27       </runner>
28     </command>
29     <command name="test" path="test0test.py">
30       <runner interface="http://repo.roscidus.com/python/python">
31         <version before="3"/>
32       </runner>
33       <requires interface="http://0install.net/2006/interfaces/0publish">
34         <!-- (we just need to make sure it's not a snapshot version) -->
35         <version before="0.23-post" not-before="0.23"/>
36         <executable-in-path name="0publish"/>
37       </requires>
38     </command>
39     <implementation id="." version="0.9-post"/>
40     <requires interface="http://0install.net/2007/interfaces/ZeroInstall.xml">
41       <version not-before="1.13"/>
42       <environment insert="" mode="replace" name="0TEST_ZEROINSTALL"/>
43     </requires>
44   </group>
45 </interface>