diff --git a/.travis.yml b/.travis.yml index 8a9bd1c..72d788d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ cache: install: - travis_retry composer self-update && composer --version - - travis_retry composer global require "fxp/composer-asset-plugin:1.0.0" + - travis_retry composer global require "fxp/composer-asset-plugin:~1.0.0" - export PATH="$HOME/.composer/vendor/bin:$PATH" - travis_retry composer install --dev --prefer-dist --no-interaction # codeception diff --git a/README.md b/README.md index 587e755..e5a2d9f 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix). You can then install this project template using the following command: ~~~ -php composer.phar global require "fxp/composer-asset-plugin:1.0.0" +php composer.phar global require "fxp/composer-asset-plugin:~1.0.0" php composer.phar create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic ~~~