2017-04-14 01:31:40 +02:00
|
|
|
sudo: false
|
|
|
|
|
|
|
|
language: php
|
|
|
|
|
|
|
|
php:
|
|
|
|
- 7.0
|
|
|
|
- 7.1
|
2017-10-07 10:32:09 +02:00
|
|
|
- 7.2
|
2017-04-14 01:31:40 +02:00
|
|
|
- nightly
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- php: nightly
|
|
|
|
fast_finish: true
|
|
|
|
|
2017-12-03 03:32:00 +01:00
|
|
|
env:
|
|
|
|
- AMP_DEBUG=true
|
|
|
|
|
|
|
|
install:
|
|
|
|
- composer update -n --prefer-dist
|
|
|
|
- wget https://github.com/php-coveralls/php-coveralls/releases/download/v1.0.2/coveralls.phar
|
|
|
|
- chmod +x coveralls.phar
|
2017-04-14 01:31:40 +02:00
|
|
|
|
|
|
|
script:
|
2018-04-03 22:15:31 +02:00
|
|
|
- vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
|
2017-05-07 22:23:08 +02:00
|
|
|
- PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer --diff --dry-run -v fix
|
2017-04-14 01:31:40 +02:00
|
|
|
|
|
|
|
after_script:
|
2017-12-03 03:32:00 +01:00
|
|
|
- ./coveralls.phar -v
|
2017-04-14 01:31:40 +02:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
2017-05-07 22:23:08 +02:00
|
|
|
- $HOME/.composer/cache/files
|