Add prefer-source and no-interaction parameters to composer install

This commit is contained in:
Marco Castelluccio 2016-04-04 13:21:36 +01:00
Родитель 88eef77c16
Коммит fd5c843616
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -13,7 +13,7 @@ matrix:
env: WP_VERSION=latest WP_MULTISITE=1
before_script:
- ./install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
- composer install --working-dir=wp-add-to-homescreen
- composer install --working-dir=wp-add-to-homescreen --prefer-source --no-interaction
- npm install -g bower
- cd wp-add-to-homescreen && bower install && cd ..

Просмотреть файл

@ -12,7 +12,7 @@ First clone the repository.
Once inside the repository you will need [composer](https://getcomposer.org) and [bower](http://bower.io/) installed. Go to the folder `wp-add-to-homescreen` inside the repository folder and run:
```
$ composer install
$ composer install --prefer-source --no-interaction
$ bower install
```