diff options
author | Lev Lazinskiy <lev@circleci.com> | 2016-06-06 19:05:49 -0700 |
---|---|---|
committer | Lev Lazinskiy <lev@circleci.com> | 2016-06-06 19:05:49 -0700 |
commit | 53d0e62ff4942f5054170090e4fe2e9c91bf2ef7 (patch) | |
tree | 26e9f6e46a00a599e274b3ac6e7fd31deb7fd462 | |
parent | 9e1a1f10be4a5aaa72c47c0e963d998b3692706c (diff) |
Add composer to vagrant fix #2305
-rw-r--r-- | Vagrantfile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile index fe1ecfb0..8e958c25 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -12,6 +12,10 @@ service apache2 restart rm -f /var/www/html/index.html date > /etc/vagrant_provisioned_at +curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer + +cd /var/www/html && composer install + wget -q https://phar.phpunit.de/phpunit.phar chmod +x phpunit.phar sudo mv phpunit.phar /usr/local/bin/phpunit |