-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
57 lines (48 loc) · 1.27 KB
/
.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
47
48
49
50
51
52
53
54
55
56
57
language: php
cache:
directories:
- $HOME/.cache/pip
- $HOME/.composer/cache/files
php:
- 7.1
- 7.2
- 7.3
- 8.0
- 8.1
- 8.2
env:
- LARAVEL_VERSION=10.x-dev
- LARAVEL_VERSION=9.x-dev
- LARAVEL_VERSION=8.x-dev
- LARAVEL_VERSION=7.x-dev
- LARAVEL_VERSION=6.x-dev
- LARAVEL_VERSION=5.8.*
- LARAVEL_VERSION=5.7.*
- LARAVEL_VERSION=5.6.*
matrix:
# For each PHP version we exclude the coverage env, except for PHP 7.1
exclude:
- php: 7.1
env: LARAVEL_VERSION=6.x-dev
- php: 7.1
env: LARAVEL_VERSION=7.x-dev
- php: 7.1
env: LARAVEL_VERSION=8.x-dev
- php: 7.2
env: LARAVEL_VERSION=8.x-dev
- php: 8.0
env: LARAVEL_VERSION=5.6.*
- php: 8.0
env: LARAVEL_VERSION=5.7.*
- php: 8.0
env: LARAVEL_VERSION=5.8.*
before_install:
- echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- cp ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ~/xdebug.ini
- phpenv config-rm xdebug.ini
- composer require "laravel/framework:${LARAVEL_VERSION}" --no-update --prefer-dist
install: travis_retry composer install --no-interaction --prefer-dist
before_script: phpenv config-add ~/xdebug.ini
script: vendor/bin/phpunit
notifications:
email: false