deployer/.travis.yml
Anton Medvedev e08e7dc43f Add codecov
2017-08-22 22:38:26 +07:00

37 lines
638 B
YAML

language: php
php:
- 7.0
- 7.1
matrix:
allow_failures:
- php: 7.1
env:
matrix:
- COMPOSER_FLAGS="--prefer-lowest"
- COMPOSER_FLAGS="--prefer-stable"
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y acl
install:
- composer self-update
- composer update --no-interaction --prefer-source $COMPOSER_FLAGS
script:
- vendor/bin/phpunit --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/3ffa605389816ec39774
on_success: change
on_failure: always
on_start: never