Skip to content

Commit

Permalink
BAP-12423: Public travis does not work because require composer asset…
Browse files Browse the repository at this point in the history
…s plugin

- update config and deps
  • Loading branch information
dxops committed Dec 30, 2016
1 parent 6d19daa commit 63d922a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,15 @@ before_script:
- phpenv config-rm xdebug.ini
- phpenv config-add travis.php.ini
- composer self-update
- composer config minimum-stability dev
- composer config prefer-stable true
- composer config repositories.oro composer https://packagist.orocrm.com
- composer require --no-update --dev "phpunit/phpunit:5.7.*"
- composer require --no-update --dev "squizlabs/php_codesniffer:2.7.*"
- composer require --no-update --dev "phpmd/phpmd:2.5.*"
- composer global show fxp/composer-asset-plugin 1.2.2 || composer global require fxp/composer-asset-plugin:1.2.2
- travis_wait composer update --prefer-dist --optimize-autoloader --no-interaction --no-suggest --prefer-stable
- DIFF=$(git diff --name-only --diff-filter=ACMR $TRAVIS_COMMIT_RANGE | grep -e ".*\.php$")
- set +e; DIFF=$(git diff --name-only --diff-filter=ACMR $TRAVIS_COMMIT_RANGE | grep -e ".*\.php$"); set -e;

script:
- ./vendor/bin/phpunit
Expand Down

0 comments on commit 63d922a

Please sign in to comment.