forked from 8p/EightPointsGuzzleBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (34 loc) · 1.01 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
language: php
sudo: false
php:
- 7.1
- 7.2
- 7.3
- nightly
env:
- SYMFONY_VERSION=4.1.* # (until 07/2019)
- SYMFONY_VERSION=4.2.* # (until 01/2020)
- SYMFONY_VERSION=4.3.* # (until 07/2020)
- SYMFONY_VERSION=4.4.* # LTS (11/2019, until 11/2023)
- SYMFONY_VERSION=5.0.* # (until 07/2020)
- DEPENDENCIES=dev
before_install:
- composer self-update
- if [ "$DEPENDENCIES" == "dev" ]; then composer config minimum-stability $DEPENDENCIES; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then composer --no-update require symfony/symfony:${SYMFONY_VERSION}; fi;
install:
- composer update
- vendor/bin/simple-phpunit install
script:
- composer validate --strict --no-check-lock
- vendor/bin/simple-phpunit --coverage-text --verbose
notifications:
email:
matrix:
exclude:
- php: 7.1
env: SYMFONY_VERSION=5.0.* # requires PHP ^7.2.5
allow_failures:
- env: DEPENDENCIES=dev
- php: nightly