1
0
mirror of https://github.com/danog/amp.git synced 2025-01-22 05:11:42 +01:00
amp/.travis.yml
2017-01-07 16:10:13 +01:00

34 lines
679 B
YAML

sudo: false
language: php
php:
- 7.0
- 7.1
- nightly
env:
matrix:
- DEPS=lowest
- DEPS=highest
allow_failures:
- php: nightly
fast_finish: true
install:
- if [ "$DEPS" = "lowest" ]; then composer update -n --prefer-source --prefer-lowest; fi;
- if [ "$DEPS" = "highest" ]; then composer update -n --prefer-source; fi;
- composer show
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