Skip to content

Commit 8ea0ecc

Browse files
Configure Travis to test different versions of SF and PHPUnit
1 parent 752c923 commit 8ea0ecc

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.travis.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,19 @@ php:
66
- 5.5
77
- 5.6
88

9-
before_script: composer install --dev
9+
env:
10+
- SYMFONY_VERSION=2.5.* PHPUNIT_VERSION=~3.7
11+
- SYMFONY_VERSION=2.0.* PHPUNIT_VERSION=~4.0
12+
- SYMFONY_VERSION=2.1.* PHPUNIT_VERSION=~4.0
13+
- SYMFONY_VERSION=2.2.* PHPUNIT_VERSION=~4.0
14+
- SYMFONY_VERSION=2.3.* PHPUNIT_VERSION=~4.0
15+
- SYMFONY_VERSION=2.4.* PHPUNIT_VERSION=~4.0
16+
- SYMFONY_VERSION=2.5.* PHPUNIT_VERSION=~4.0
17+
18+
before_script:
19+
- composer require --no-update "symfony/config:${SYMFONY_VERSION}"
20+
- composer require --no-update "phpunit/phpunit:${PHPUNIT_VERSION}"
21+
- composer update
1022

1123
notifications:
1224

0 commit comments

Comments
 (0)