1
0
mirror of https://github.com/danog/amp.git synced 2024-11-26 20:15:00 +01:00
amp/.travis.yml

37 lines
640 B
YAML
Raw Normal View History

2015-07-29 23:29:24 +02:00
sudo: false
2015-04-29 17:29:09 +02:00
language: php
2015-07-19 19:29:25 +02:00
2017-01-07 16:08:12 +01:00
php:
- 7.0
- 7.1
- nightly
matrix:
2016-09-07 23:49:47 +02:00
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;
2015-07-19 19:29:25 +02:00
script:
2016-08-11 21:35:58 +02:00
- phpdbg -qrr vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
2015-07-19 19:29:25 +02:00
- php vendor/bin/php-cs-fixer --diff --dry-run -v fix
after_script:
2016-08-11 21:35:58 +02:00
- composer require satooshi/php-coveralls dev-master
- php vendor/bin/coveralls -v
cache:
directories:
- $HOME/.composer/cache