Files
LaravelShoppingcart/.travis.yml
Patrick Henninger 9bd7f1ab7b Revert "Corrected tavis.yml"
This reverts commit fe2d61160a.
2019-01-09 12:22:29 +01:00

32 lines
587 B
YAML

language: php
php:
- 7.1
- 7.2
env:
matrix:
- PREFER_LOWEST="--prefer-lowest"
- PREFER_LOWEST=""
before_script:
- composer self-update $PREFER_LOWEST
- 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