Skip to content

Commit

Permalink
Merge pull request #6013 from laboro/fix/BAP-12423
Browse files Browse the repository at this point in the history
BAP-12423: Public travis does not work because require composer asset…
  • Loading branch information
SergeyZ authored Dec 30, 2016
2 parents ee1b2a0 + 63d922a commit a1127d4
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 a1127d4

Please sign in to comment.