-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
44 lines (37 loc) · 1.31 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
language: php
sudo: false
matrix:
include:
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6
- php: 5.6
env: SYMFONY_VERSION=2.2.*
- php: 5.6
env: SYMFONY_VERSION=2.3.*
- php: 5.6
env: SYMFONY_VERSION=2.4.* EXPRESSION_LANGUAGE_VERSION=2.4.*
- php: 5.6
env: SYMFONY_VERSION=2.5.* EXPRESSION_LANGUAGE_VERSION=2.5.*
- php: 5.6
env: SYMFONY_VERSION=2.6.* EXPRESSION_LANGUAGE_VERSION=2.6.*
- php: 5.6
env: SYMFONY_VERSION=2.7.* EXPRESSION_LANGUAGE_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=3.0.* EXPRESSION_LANGUAGE_VERSION=3.0.*
env:
global:
- SYMFONY_VERSION=""
- EXPRESSION_LANGUAGE_VERSION=""
before_install:
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/dependency-injection "$SYMFONY_VERSION"; fi
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/config "$SYMFONY_VERSION"; fi
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/yaml "$SYMFONY_VERSION"; fi
- if [ "$EXPRESSION_LANGUAGE_VERSION" != "" ]; then composer require --dev --no-update symfony/expression-language "$EXPRESSION_LANGUAGE_VERSION"; fi
install:
- composer install --prefer-source
script:
- vendor/bin/phpunit
notifications:
email: [email protected]