2015-08-02 04:18:44 +02:00
|
|
|
sudo: false
|
2014-07-19 15:37:48 +02:00
|
|
|
|
2015-08-02 04:18:44 +02:00
|
|
|
language: php
|
2014-07-19 15:37:48 +02:00
|
|
|
|
|
|
|
php:
|
2016-08-13 19:20:26 +02:00
|
|
|
- 7.0
|
2016-08-24 06:23:25 +02:00
|
|
|
- 7.1
|
2017-12-03 04:11:27 +01:00
|
|
|
- 7.2
|
2019-01-25 05:12:31 +01:00
|
|
|
- 7.3
|
2016-08-13 19:20:26 +02:00
|
|
|
- nightly
|
2014-07-19 15:37:48 +02:00
|
|
|
|
2016-08-24 06:23:25 +02:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- php: nightly
|
|
|
|
fast_finish: true
|
|
|
|
|
2017-12-03 04:11:27 +01:00
|
|
|
env:
|
|
|
|
- AMP_DEBUG=true
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- phpenv config-rm xdebug.ini || echo "No xdebug config."
|
|
|
|
|
|
|
|
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
|
2014-07-19 15:37:48 +02:00
|
|
|
|
2015-08-02 04:18:44 +02:00
|
|
|
script:
|
2017-12-15 17:03:56 +01:00
|
|
|
- vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
|
2017-06-17 10:49:54 +02:00
|
|
|
- PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer --diff --dry-run -v fix
|
2015-08-02 04:18:44 +02:00
|
|
|
|
2017-06-17 10:49:54 +02:00
|
|
|
after_script:
|
2017-12-03 04:11:27 +01:00
|
|
|
- ./coveralls.phar -v
|
2016-04-01 16:34:32 +02:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
2019-01-25 05:12:31 +01:00
|
|
|
- $HOME/.composer/cache
|
|
|
|
- $HOME/.php-cs-fixer
|
|
|
|
- $HOME/.local
|