-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
48 lines (40 loc) · 1.17 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
language: php
dist: jammy
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
- .phpunit
env:
global:
- SYMFONY_PHPUNIT_DIR=.phpunit
matrix:
fast_finish: true
include:
- php: 7.4
env: SYMFONY_VERSION=5.4.x
- php: 8.0
env: SYMFONY_VERSION=5.4.x
- php: 8.1
env: SYMFONY_VERSION=5.4.x
- php: 8.2
env: SYMFONY_VERSION=5.4.x
- php: 8.0
env: SYMFONY_VERSION=6.2.x
- php: 8.1
env: SYMFONY_VERSION=6.2.x
- php: 8.2
env: SYMFONY_VERSION=6.2.x
# Test against dev versions
- php: nightly
env: DEPENDENCIES=dev SYMFONY_VERSION=6.2.x
allow_failures:
- env: DEPENDENCIES=dev
before_install:
- composer self-update
- if [ "$DEPENDENCIES" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony:"$SYMFONY_VERSION"; fi
install:
- composer update $COMPOSER_FLAGS
- ./vendor/bin/simple-phpunit install
script: ./vendor/bin/simple-phpunit -v --coverage-text