-
Notifications
You must be signed in to change notification settings - Fork 46
/
.travis.yml
43 lines (35 loc) · 888 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
sudo: false
dist: bionic
language: php
php:
- "7.2"
- "7.3"
- "7.4"
- "8.0"
- "8.1.0"
env:
- SYMFONY_VERSION=3.*
- SYMFONY_VERSION=4.*
- SYMFONY_VERSION=5.*
- SYMFONY_VERSION=6.*
matrix:
exclude:
- php: "7.2"
env: SYMFONY_VERSION=6.*
- php: "7.3"
env: SYMFONY_VERSION=6.*
- php: "7.4"
env: SYMFONY_VERSION=6.*
cache:
directories:
- $HOME/.composer/cache
install:
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer self-update
before_script:
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer require symfony/console:${SYMFONY_VERSION} symfony/framework-bundle:${SYMFONY_VERSION} symfony/http-kernel:${SYMFONY_VERSION} --prefer-source
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --prefer-source
script:
- XDEBUG_MODE=coverage ./bin/phpunit --coverage-text
notifications:
email: