-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.travis.yml
More file actions
40 lines (31 loc) · 880 Bytes
/
.travis.yml
File metadata and controls
40 lines (31 loc) · 880 Bytes
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
language: php
cache:
directories:
- $HOME/.cache/pip
- $HOME/.composer/cache/files
php:
- 7.2
- 7.3
- 8.0
env:
- LARAVEL_VERSION=7.x-dev
- LARAVEL_VERSION=8.x-dev
- LARAVEL_VERSION=9.x-dev
matrix:
exclude:
- php: 7.2
env: LARAVEL_VERSION=8.x-dev
- php: 7.2
env: LARAVEL_VERSION=9.x-dev
- php: 7.3
env: LARAVEL_VERSION=9.x-dev
before_install:
- echo "memory_limit=2G" >> ~/.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 tests
notifications:
email: false