Files
LaravelShoppingcart/.travis.yml
Patrick Henninger 423e2b7c3f Restructuring
Added codecov
2018-12-28 17:00:55 +01:00

27 lines
497 B
YAML

language: php
php:
- 5.6
- 7.0
- 7.2
before_script:
- composer self-update
- composer install --prefer-source --no-interaction
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