Skip to content

Commit

Permalink
chore: travis config improvements (#2)
Browse files Browse the repository at this point in the history
chore: travis config improvements
  • Loading branch information
atymic committed Oct 27, 2019
2 parents 340195d + 9fe5759 commit a23bfa7
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,26 @@ php:
- 7.2
- 7.3

env:
- LARAVEL='5.8.*' COMPOSER_FLAGS='--prefer-stable'
- LARAVEL='5.8.*' COMPOSER_FLAGS='--prefer-lowest'
- LARAVEL='^6.0' COMPOSER_FLAGS='--prefer-stable'
- LARAVEL='^6.0' COMPOSER_FLAGS='--prefer-lowest'

sudo: false

install: travis_retry composer install --no-interaction --prefer-source
matrix:
fast_finish: true

cache:
directories:
- $HOME/.composer/cache

before_install:
- travis_retry composer self-update
- travis_retry composer require --no-update --no-interaction "illuminate/support:${LARAVEL}"

install:
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist --no-suggest

script: phpunit
script: ./vendor/bin/phpunit --verbose --coverage-clover=coverage.xml

0 comments on commit a23bfa7

Please sign in to comment.