mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
33 lines
608 B
YAML
33 lines
608 B
YAML
language: php
|
|
|
|
php:
|
|
- 7.1
|
|
- 7.2
|
|
|
|
env:
|
|
matrix:
|
|
- PREFER_LOWEST="--prefer-lowest"
|
|
- PREFER_LOWEST=""
|
|
|
|
before_script:
|
|
- composer self-update
|
|
- composer 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 |