-
Notifications
You must be signed in to change notification settings - Fork 59
/
.travis.yml
38 lines (31 loc) · 1.05 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
language: php
php:
- 5.6 # security support until 31/12/2018
- 7.0 # security support until 03/12/2018
- 7.1 # security support until 01/12/2019
- 7.2 # security support until 30/11/2020
- nightly
env:
- SYMFONY_VERSION=2.7.* # LTS, EOL 05/2019
- SYMFONY_VERSION=2.8.* # LTS, EOL 11/2019
- SYMFONY_VERSION=3.2.* # EOL 01/2018
- SYMFONY_VERSION=3.3.* # EOL 07/2018
- SYMFONY_VERSION=3.4.* # LTS, EOL 11/2021
- SYMFONY_VERSION=4.0.* # EOL 01/2019
- SYMFONY_VERSION=dev-master
global:
- SYMFONY_DEPRECATIONS_HELPER=weak
cache:
directories:
- $HOME/.composer/cache
before_install:
- composer self-update
- sh -c "if [ '$DEPENDENCIES' == 'dev' ]; then sed -i 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi"
- sh -c "if [ '$SYMFONY_VERSION' != '' ]; then composer require symfony/symfony:${SYMFONY_VERSION}; fi"
install: composer install
script:
- ant test
matrix:
allow_failures:
- env: SYMFONY_VERSION=dev-master
- php: nightly