1
0
mirror of https://github.com/danog/amp.git synced 2024-12-02 17:37:50 +01:00
amp/.travis.yml

26 lines
473 B
YAML
Raw Normal View History

2016-05-19 13:29:06 +02:00
language: php
php:
- 5.5
- 5.6
- 7.0
- nightly
2016-05-19 14:05:04 +02:00
- hhvm
2016-05-19 13:29:06 +02:00
matrix:
allow_failures:
- php: nightly
fast_finish: true
cache:
directories:
- $HOME/.composer/cache
install:
- composer install
- composer show
2016-05-19 13:29:06 +02:00
script:
- find -name "*.php" -not -path "./vendor/*" -print0 | xargs -n 1 -0 php -l
- $(php -r 'if (PHP_MAJOR_VERSION >= 7) echo "phpdbg -qrr"; else echo "php";') vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml