Last active
December 25, 2015 11:39
-
-
Save stevemcquaid/6970207 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt-get update | |
sudo apt-get install openjdk-6-jre | |
sudo apt-get install openjdk-6-jdk | |
sudo wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - | |
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list' | |
sudo apt-get update | |
sudo apt-get install jenkins | |
sudo apt-get install ant | |
#Install PHP related dependencies | |
sudo apt-get install phpunit | |
sudo apt-get install php5-xdebug | |
sudo apt-get install php-pear | |
sudo pear config-set auto_discover 1 | |
sudo pear install pear.phpunit.de/PHP_CodeCoverage | |
sudo pear install pear.phpunit.de/PHP_Timer | |
# @todo Verificar se ja existe o canal | |
# sudo pear channel-discover pear.phpunit.de | |
# sudo pear channel-discover pear.pdepend.org | |
# sudo pear channel-discover pear.phpmd.org | |
sudo pear install pear.phpunit.de/phploc | |
sudo pear install pear.phpunit.de/phpcpd | |
sudo pear install pear.phpunit.de/phpdcd | |
sudo pear install pear.pdepend.org/PHP_Depend | |
sudo pear install pear.phpmd.org/PHP_PMD | |
sudo pear install PHP_CodeSniffer | |
sudo pear config-set preferred_state alpha | |
sudo pear install --alldeps pear.phpunit.de/PHP_CodeBrowser |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?P echo "alpha"; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment