forked from lexik/LexikMailerBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (41 loc) · 1.22 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
49
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
php:
- 5.5
- 5.6
- 7.0
- 7.1
env:
- SYMFONY_VERSION=2.8.*
- SYMFONY_VERSION=3.0.*
- SYMFONY_VERSION=3.1.*
- SYMFONY_VERSION=3.2.*
- SYMFONY_VERSION=3.3.*
matrix:
fast_finish: true
include:
- php: 5.5
env: SYMFONY_VERSION=2.8.*
# test 2.8 LTS
- php: 5.6
env: SYMFONY_VERSION=2.8.*
# test the latest stable 3.x release
- php: 5.6
env: SYMFONY_VERSION=^3.0
# test the latest release (including beta releases)
- php: 7.1
env:
- DEPENDENCIES=beta
- SYMFONY_VERSION=4.0.*
before_install:
- if [ "$DEPENDENCIES" = "beta" ]; then composer config minimum-stability beta; fi;
- composer require symfony/framework-bundle:${SYMFONY_VERSION} --no-update
- composer require symfony/validator:${SYMFONY_VERSION} --no-update
- composer require symfony/doctrine-bridge:${SYMFONY_VERSION} --no-update
- composer require doctrine/orm:~2.4 --no-update
- composer require doctrine/data-fixtures:~1.0 --no-update
install: composer install --prefer-dist --no-interaction
script: phpunit