-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
46 lines (40 loc) · 897 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
40
41
42
43
44
45
46
os: linux
arch: amd64
dist: bionic
language: php
php:
- 7.2
- 7.3
- 7.4
- 8.0
env:
- LARAVEL_VERSION=5.7.*
- LARAVEL_VERSION=5.8.*
- LARAVEL_VERSION=6.*
- LARAVEL_VERSION=7.*
- LARAVEL_VERSION=8.*
cache:
directories:
- $HOME/.composer/cache
matrix:
fast_finish: true
exclude:
- php: 7.2
env: LARAVEL_VERSION=8.*
- php: 7.3
env: LARAVEL_VERSION=8.*
- php: 8.0
env: LARAVEL_VERSION=5.7.*
- php: 8.0
env: LARAVEL_VERSION=5.8.*
- php: 8.0
env: LARAVEL_VERSION=6.*
- php: 8.0
env: LARAVEL_VERSION=7.*
before_script:
- composer config discard-changes true
- travis_retry composer self-update
- travis_retry composer install --prefer-source
- if [ "$LARAVEL_VERSION" != "" ]; then composer require --dev "laravel/laravel:${LARAVEL_VERSION}" --no-update; fi;
- composer update
script: phpunit