server/build
Morris Jobke 472d896ce9 Travis support
* use PHPUnit 4.x
* force php memory limit on travis to 1024MB
* create script for travis
* whitelist branches master, stable5 and stable6 on travis (and PRs)
* sqlplus64
* conditional JS tests and ocular temporal removal
* enable scrutinizer code coverage
* move oracle to top to decrease overall test duration
2014-08-05 16:53:27 +02:00
..
build.xml Remove all occurences of @brief and @returns from PHPDoc 2014-05-19 17:50:53 +02:00
package.json added missing packages required to run "karma" and "phantomjs" inside 2014-03-12 19:22:11 -04:00
phpcs.xml update to jquery-ui 1.10.0 2013-01-23 11:37:52 +01:00
phpmd.xml Migration of build files from Jenkins 2012-12-15 21:03:32 +01:00
prepareTests.sh Travis support 2014-08-05 16:53:27 +02:00
prepareTestsOracle.sh Travis support 2014-08-05 16:53:27 +02:00
README.TXT Migration of build files from Jenkins 2012-12-15 21:03:32 +01:00
travis.php.ini Travis support 2014-08-05 16:53:27 +02:00

How to setup build.xml on your local machine?

1.) Install ant
 e.g. apt-get install ant

2.) Install jslint
 Get the latest distribution from http://code.google.com/p/jslint4java/ and 
 place jslint4java-*.jar in your home under .ant/lib/

3.) Install PHP qa tools
 Run as root:
  pear config-set auto_discover 1
  pear install pear.phpqatools.org/phpqatools pear.netpirates.net/phpDox

 Alternative:
  pear install pear.phpunit.de/phploc
  pear install pear.phpunit.de/phpcpd
  pear install pear.phpmd.org/PHP_PMD
  pear install pear.pdepend.org/PHP_Depend
  pear install pear.php.org/PHP_CodeSniffer
  pear install PHP_CodeSniffer
  pear install pear.phpqatools.org/PHP_CodeBrowser


How to call this ant script?
 ant -f  build/build.xml -Dbasedir=.