mirror of
https://github.com/danog/amp.git
synced 2024-11-30 04:29:08 +01:00
35 lines
730 B
YAML
35 lines
730 B
YAML
sudo: false
|
|
|
|
language: php
|
|
|
|
php:
|
|
- 7.0
|
|
- 7.1
|
|
- nightly
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- php: nightly
|
|
fast_finish: true
|
|
|
|
install:
|
|
- travis/install-uv.sh
|
|
- travis/install-ev.sh
|
|
- travis/install-event.sh
|
|
- composer update -n --prefer-dist
|
|
- composer show
|
|
|
|
script:
|
|
# 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
|
|
|
|
after_script:
|
|
- composer require satooshi/php-coveralls dev-master
|
|
- php vendor/bin/coveralls -v
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.composer/cache/files
|