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

33 lines
688 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
2016-09-07 23:49:47 +02:00
matrix:
2017-01-07 16:02:49 +01:00
php:
- 7.0
- 7.1
- nightly
2017-01-07 15:59:17 +01:00
env:
- DEPS=lowest
- DEPS=highest
2016-09-07 23:49:47 +02:00
allow_failures:
- php: nightly
fast_finish: true
install:
2017-01-07 15:59:17 +01:00
- if [ "$DEPS" = "lowest" ]; then composer install -n --prefer-source --prefer-lowest; fi;
- if [ "$DEPS" = "highest" ]; then composer install -n --prefer-source; fi;
- composer show
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