Files
LaravelShoppingcart/.travis.yml
Patrick Henninger cf7cdd01c6 Adjusted travis.yml
2019-01-08 21:14:02 +01:00

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
# Submit coverage report to https://codecov.io
after_success:
- 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