Browse Source

Switched to asset-packagist

tags/2.0.12
SilverFire - Dmitry Naumenko 8 years ago
parent
commit
d3f97f7e64
No known key found for this signature in database
GPG Key ID: 39DD917A92B270A
  1. 2
      .travis.yml
  2. 6
      composer.json
  3. 4
      tests/TestCase.php

2
.travis.yml

@ -79,7 +79,6 @@ matrix:
# disable xdebug for performance in composer
- phpenv config-rm xdebug.ini || echo "xdebug is not installed"
- travis_retry composer self-update && composer --version
- travis_retry composer global require "fxp/composer-asset-plugin:^1.3.1" --no-plugins
- travis_retry composer install --prefer-dist --no-interaction
before_script:
- node --version
@ -118,7 +117,6 @@ install:
phpenv config-rm xdebug.ini || echo "xdebug is not installed"
fi
- travis_retry composer self-update && composer --version
- travis_retry composer global require "fxp/composer-asset-plugin:^1.3.1" --no-plugins
- export PATH="$HOME/.composer/vendor/bin:$PATH"
# core framework:
- travis_retry composer install --prefer-dist --no-interaction

6
composer.json

@ -84,6 +84,12 @@
"phpunit/phpunit": "~4.4",
"cebe/indent": "~1.0.2"
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"suggest": {
"yiisoft/yii2-coding-standards": "you can use this package to check for code style issues when contributing to yii"
},

4
tests/TestCase.php

@ -68,6 +68,10 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase
'id' => 'testapp',
'basePath' => __DIR__,
'vendorPath' => $this->getVendorPath(),
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
],
'components' => [
'request' => [
'cookieValidationKey' => 'wefJDF8sfdsfSDefwqdxj9oq',

Loading…
Cancel
Save