rollback with composer asset plugin

This commit is contained in:
Antonio Ramirez
2017-09-21 19:19:30 +02:00
parent 3da190df35
commit c968a85ff0
3 changed files with 11 additions and 11 deletions

View File

@ -1,5 +1,6 @@
# faster builds on new travis setup not using sudo
sudo: required
sudo: false
language: php
@ -28,6 +29,7 @@ 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.0" --no-plugins
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- travis_retry composer install --prefer-dist --no-interaction
@ -51,10 +53,6 @@ script:
- composer validate --no-check-lock
- vendor/bin/codecept run $CODECEPTION_FLAGS
notifications:
email:
- hola@2amigos.us
after_script:
- |
if [ $TRAVIS_PHP_VERSION = '7.1' ]; then

View File

@ -73,12 +73,14 @@
"Da\\User\\": "./src/User"
}
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
"config": {
"fxp-asset": {
"installer-paths": {
"npm-asset-library": "vendor/npm",
"bower-asset-library": "vendor/bower"
}
],
}
},
"extra": {
"bootstrap": "Da\\User\\Bootstrap"
}

View File

@ -8,7 +8,7 @@ return [
'@Da/User' => dirname(dirname(dirname(__DIR__))) . '/src/User',
'@tests' => dirname(dirname(__DIR__)),
'@vendor' => VENDOR_DIR,
'@bower' => VENDOR_DIR . '/bower-asset',
'@bower' => VENDOR_DIR . '/bower',
],
'bootstrap' => ['Da\User\Bootstrap'],
'modules' => [