1
0
mirror of https://github.com/danog/amp.git synced 2024-11-30 04:29:08 +01:00

--ignore-platform-reqs on Travis because php-cs-fixer

See https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2722.
This commit is contained in:
Niklas Keller 2017-04-24 18:59:55 +02:00
parent 34192ceca5
commit 14d6b45b0a

View File

@ -16,11 +16,12 @@ install:
- travis/install-uv.sh
- travis/install-ev.sh
- travis/install-event.sh
- composer update -n --prefer-dist
# --ignore-platform-reqs, because https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2722
- composer update -n --prefer-dist --ignore-platform-reqs
- composer show
script:
# Run testNoMemoryLeak separately, as those are skipped with enabled coverage
# Run testNoMemoryLeak separately, as those are skipped with enabled coverage
- php vendor/bin/phpunit --filter testNoMemoryLeak
- phpdbg -qrr vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml --verbose
- php vendor/bin/php-cs-fixer --diff --dry-run -v fix