Skip to content

Commit 6b6da5e

Browse files
committed
update travis
1 parent 68aad92 commit 6b6da5e

File tree

1 file changed

+28
-10
lines changed

1 file changed

+28
-10
lines changed

.travis.yml

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,35 @@
1-
sudo: false
21
language: php
32

4-
php:
5-
- 5.4
6-
- 5.5.9
7-
- 5.5
8-
- 5.6
9-
- 7.0
10-
- hhvm
3+
cache:
4+
directories:
5+
- $HOME/.composer/cache
116

12-
before_script:
7+
matrix:
8+
fast_finish: true
9+
include:
10+
- php: 7.2
11+
env: LARAVEL='5.8.*' COMPOSER_FLAGS='--prefer-lowest'
12+
- php: 7.2
13+
env: LARAVEL='5.8.*' COMPOSER_FLAGS='--prefer-stable'
14+
- php: 7.3
15+
env: LARAVEL='5.8.*' COMPOSER_FLAGS='--prefer-lowest'
16+
- php: 7.3
17+
env: LARAVEL='5.8.*' COMPOSER_FLAGS='--prefer-stable'
18+
- php: 7.2
19+
env: LARAVEL='6.*' COMPOSER_FLAGS='--prefer-lowest'
20+
- php: 7.2
21+
env: LARAVEL='6.*' COMPOSER_FLAGS='--prefer-stable'
22+
- php: 7.3
23+
env: LARAVEL='6.*' COMPOSER_FLAGS='--prefer-lowest'
24+
- php: 7.3
25+
env: LARAVEL='6.*' COMPOSER_FLAGS='--prefer-stable'
26+
27+
before_install:
1328
- travis_retry composer self-update
14-
- travis_retry composer install --no-interaction --prefer-source --dev
29+
- travis_retry composer require --no-update --no-interaction "illuminate/support:${LARAVEL}"
30+
31+
install:
32+
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction --no-suggest
1533

1634
script:
1735
- phpunit --coverage-text --coverage-clover=coverage.clover

0 commit comments

Comments
 (0)