install_dependencies.sh 815 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. # To install DbUnit, we have to install everything
  3. pear channel-discover pear.phpunit.de
  4. pear channel-discover pear.symfony-project.com
  5. pear update-channels
  6. # remove any existing phpunit packages
  7. pear uninstall -n pear.phpunit.de/DbUnit
  8. pear uninstall -n pear.phpunit.de/PHPUnit_Selenium
  9. pear uninstall -n pear.phpunit.de/PHPUnit
  10. pear uninstall -n pear.phpunit.de/File_Iterator
  11. pear uninstall -n pear.phpunit.de/Text_Template
  12. pear uninstall -n pear.phpunit.de/PHP_CodeCoverage
  13. pear uninstall -n pear.phpunit.de/PHP_Timer
  14. pear uninstall -n pear.phpunit.de/PHPUnit_MockObject
  15. pear uninstall -n pear.symfony-project.com/YAML
  16. # Install
  17. pear config-set auto_discover 1
  18. pear install -f -o pear.phpunit.de/PHPUnit
  19. pear install -f -o pear.phpunit.de/PHPUnit_Selenium
  20. pear install -f -o pear.phpunit.de/DbUnit