Opened 16 years ago
Closed 15 years ago
#313 closed task (invalid)
PHPUnit Build Help
Reported by: | mcarpent@… | Owned by: | cmlenz |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Documentation | Version: | 0.5.3 |
Keywords: | Cc: | ||
Operating System: | Linux |
Description
I'm attempting to set up an automated build with PHPUnit but I'm having no luck. I have a build recipe which will work correctly off the command line, but when I've got the recipe entered into the Web Admin? nothing seems to happen when I commit.
<build xmlns:svn="http://bitten.cmlenz.net/tools/svn" xmlns:sh="http://bitten.cmlenz.net/tools/sh" xmlns:php="http://bitten.cmlenz.net/tools/php" > <step id="Checkout"> <sh:exec file="echo" args="Checkout start"/> <svn:update revision="${revision}" dir="${path}" /> <sh:exec file="echo" args="Checkout complete"/> </step> <step id="Testing"> <sh:exec file="echo" args="Test start"/> <sh:exec file="phpunit" args="--log-xml frameworkTrunkResults.xml FrameworkTestSuite.php" /> <php:phpunit file="frameworkTrunkResults.xml"/> <sh:exec file="echo" args="Test complete"/> </step> </build>
I'm not sure if I have the paths set correctly. My test suite is in the folder trunk/testing/ and the phpunit xml file should end up in the same folder.
I also have bitten-slave running with the following command on the same server that trac is isntalled:
sudo bitten-slave http://localhost/trac/builds
The only output I get is: [INFO ] No pending builds
Attachments (0)
Change History (2)
comment:1 follow-up: ↓ 2 Changed 16 years ago by mcarpent@…
comment:2 in reply to: ↑ 1 Changed 15 years ago by osimons
- Resolution set to invalid
- Status changed from new to closed
Replying to mcarpent@…:
Should have put this on the mailing list. Please close.
As requested. Support issue for mailing list.
Should have put this on the mailing list. Please close.