Files
LaravelShoppingcart/.travis.yml
Patrick Henninger d366b92ca9 Revert "revert last change"
This reverts commit 8a73831c33.
2019-01-09 12:21:30 +01:00

32 lines
603 B
YAML

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