-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
50 lines (44 loc) · 1.01 KB
/
.gitlab-ci.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
cache:
key:
files:
- composer.lock
paths:
- $HOME/.composer/cache
before_script:
- bash ci/docker-install.sh > /dev/null
- sh ci/composer-installer.sh
- mv composer.phar /usr/local/bin/composer
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev symfony/symfony:${SYMFONY_VERSION} --no-update; fi
- composer update --prefer-dist
test:7.2:
image: php:7.2
variables:
SYMFONY_VERSION: '4.*'
SYMFONY_DEPRECATIONS_HELPER: 'max[direct]=0'
XDEBUG: '2.8.1'
script:
- composer ci
test:7.3:
image: php:7.3
variables:
SYMFONY_VERSION: '5.*'
SYMFONY_DEPRECATIONS_HELPER: 'max[direct]=0'
XDEBUG: '2.8.1'
script:
- composer ci
test:7.4:
image: php:7.4
variables:
SYMFONY_VERSION: '5.*'
SYMFONY_DEPRECATIONS_HELPER: 'max[direct]=0'
XDEBUG: '2.8.1'
script:
- composer ci
test:8.0:
image: php:8.0
variables:
SYMFONY_VERSION: '5.*'
SYMFONY_DEPRECATIONS_HELPER: 'max[direct]=0'
XDEBUG: '3.0.0'
script:
- composer ci