forked from codebyray/laravel-review-rateable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (32 loc) · 753 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
os:
- linux
language: php
php:
- '7.3'
- '8.0'
- '8.1'
env:
- LARAVEL_VERSION=7.*
- LARAVEL_VERSION=8.*
- LARAVEL_VERSION=9.*
matrix:
fast_finish: true
exclude:
- php: 7.3
env: LARAVEL_VERSION=8.*
- php: 7.3
env: LARAVEL_VERSION=9.*
- php: 8.0
env: LARAVEL_VERSION=7.*
- php: 8.1
env: LARAVEL_VERSION=7.*
before_script:
- travis_retry composer self-update
- travis_retry composer install --prefer-source --no-interaction
- if [ "$LARAVEL_VERSION" != "" ]; then composer require --dev "laravel/laravel:${LARAVEL_VERSION}" --no-update; fi;
- travis_retry composer update
cache:
directories:
- vendor
script:
- vendor/bin/phpunit --coverage-text