Skip to content

Commit

Permalink
Make into one shell file
Browse files Browse the repository at this point in the history
  • Loading branch information
abtris committed Feb 4, 2011
1 parent 6cfa9a1 commit 06cf6bc
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 20 deletions.
2 changes: 0 additions & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ Vagrant::Config.run do |config|

config.vm.provision :shell, :path => "php-hudson.sh"

config.vm.provision :shell, :path => "pear-php.sh"

# Enable provisioning with chef server, specifying the chef server URL,
# and the path to the validation key (relative to this Vagrantfile).
#
Expand Down
18 changes: 0 additions & 18 deletions pear-php.sh

This file was deleted.

18 changes: 18 additions & 0 deletions php-hudson.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,21 @@ sudo git clone git://github.com/sebastianbergmann/php-jenkins-template.git /var/
sudo chown -Rf jenkins /var/lib/jenkins/jobs/
java -jar jenkins-cli.jar -s http://localhost:8080 reload-configuration

sudo pear channel-discover pear.pdepend.org
sudo pear channel-discover pear.phpmd.org
sudo pear channel-discover pear.phpunit.de
sudo pear channel-discover components.ez.no
sudo pear channel-discover pear.symfony-project.com

sudo pear upgrade

sudo pear install pdepend/PHP_Depend-beta
sudo pear install phpmd/PHP_PMD-alpha
sudo pear install phpunit/phpcpd
sudo pear install phpunit/phploc
sudo pear install PHPDocumentor
sudo pear install PHP_CodeSniffer
sudo pear install --alldeps phpunit/PHP_CodeBrowser
sudo pear install --alldeps phpunit/PHPUnit

exit 0

0 comments on commit 06cf6bc

Please sign in to comment.