Skip to content

Commit 502b6b7

Browse files
Merge pull request #27 from Soullivaneuh/sf3
Allow Symfony 3
2 parents c7d65ce + bf0676c commit 502b6b7

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@ matrix:
2121
- php: hhvm
2222
env: SYMFONY_VERSION=2.6.* PHPUNIT_VERSION=~4.0
2323
- php: 5.6
24-
env: SYMFONY_VERSION=2.7.*@dev PHPUNIT_VERSION=~4.0
24+
env: SYMFONY_VERSION=2.7.* PHPUNIT_VERSION=~4.0
25+
- php: 5.6
26+
env: SYMFONY_VERSION=2.8.*@dev PHPUNIT_VERSION=~4.0
27+
- php: 5.6
28+
env: SYMFONY_VERSION=3.0.*@dev PHPUNIT_VERSION=~4.0
2529

2630
before_script:
2731
- composer require --no-update "symfony/config:${SYMFONY_VERSION}"
28-
- composer require --no-update "phpunit/phpunit:${PHPUNIT_VERSION}"
32+
- composer require --dev --no-update "phpunit/phpunit:${PHPUNIT_VERSION}"
2933
- composer update
3034

3135
notifications:

composer.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@
1313
}
1414
],
1515
"require": {
16-
"phpunit/phpunit": ">=3.7",
17-
"sebastian/exporter": "1.*"
16+
"php": ">=5.3",
17+
"sebastian/exporter": "1.*",
18+
"symfony/config": "~2.0|~3.0"
19+
},
20+
"require-dev": {
21+
"phpunit/phpunit": ">=3.7"
1822
},
23+
"minimum-stability": "dev",
24+
"prefer-stable": true,
1925
"autoload": {
2026
"psr-4" : { "Matthias\\SymfonyConfigTest\\" : "" }
21-
},
22-
"require": {
23-
"php": ">=5.3",
24-
"symfony/config": "2.*"
2527
}
2628
}

0 commit comments

Comments
 (0)