1
0
mirror of https://github.com/danog/amp.git synced 2024-11-27 04:24:42 +01:00
amp/.travis.yml
2017-01-11 20:25:45 -06:00

37 lines
640 B
YAML

sudo: false
language: php
php:
- 7.0
- 7.1
- nightly
matrix:
allow_failures:
- php: nightly
fast_finish: true
env:
- DEPS=lowest
- DEPS=highest
install:
- if [ "$DEPS" = "lowest" ]; then
composer update -n --prefer-source --prefer-lowest;
else
composer update -n --prefer-source;
fi;
script:
- phpdbg -qrr vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
- 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