Skip to content

Commit 1866e5a

Browse files
committed
Remove installation of php-zip and install composer packages from source
1 parent cfff327 commit 1866e5a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
- name: Install Composer
22
shell: curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer creates=/usr/local/bin/composer
33

4+
- name: Increase process timeout
5+
shell: composer --global config process-timeout {{ composer.timeout }}
6+
47
- name: Install packages
5-
shell: cd /vagrant && composer install --optimize-autoloader
8+
shell: composer install --optimize-autoloader --prefer-source
9+
args:
10+
chdir: /vagrant

ansible/vars/all.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ php:
1919
- php7.0-json
2020
- php7.0-xml
2121
- php7.0-mbstring
22-
pecl_packages: [php-zip]
2322

2423
xdebug:
2524
install: '1'
26-
27-
composer:
28-
timeout: '2000'

0 commit comments

Comments
 (0)