Add global composer installation and running 'composer install'

This commit is contained in:
Nikita Strelkov
2016-10-03 11:42:52 +05:00
parent e5e734cd26
commit e8f1560712
2 changed files with 6 additions and 0 deletions

View File

@@ -9,3 +9,4 @@
- php
- xdebug
- app
- composer

View File

@@ -0,0 +1,5 @@
- name: Install Composer
shell: curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer creates=/usr/local/bin/composer
- name: Install packages
shell: cd /vagrant && composer install --optimize-autoloader