Restructuring

Added codecov
This commit is contained in:
Patrick Henninger
2018-12-28 17:00:55 +01:00
parent 1190d72b52
commit 423e2b7c3f
6 changed files with 27 additions and 8 deletions

View File

@@ -9,4 +9,19 @@ before_script:
- composer self-update
- composer install --prefer-source --no-interaction
script: vendor/bin/phpunit
script:
- vendor/bin/phpunit --coverage-clover=coverage.xml
after_success:
# Submit coverage report to https://codecov.io
- bash <(curl -s https://codecov.io/bash)
# Monitor only these branches
branches:
only:
- master
# You can delete the cache using travis-ci web interface
cache:
directories:
- $HOME/.composer/cache