Skip to content

Commit 48af3a6

Browse files
authored
Improve CI, add Sf v3 & v4 (#27)
1 parent 69521ee commit 48af3a6

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ env:
1111
TEST_OUTPUT_STYLE: 'pretty'
1212
PHPCS_REPORT_STYLE: 'full'
1313
COMPOSER_OPTIONS: '--optimize-autoloader'
14+
matrix:
15+
- SYMFONY_VERSION: '~3.0'
16+
- SYMFONY_VERSION: '~4.0'
1417

1518
sudo: false
1619

@@ -22,6 +25,7 @@ before_install:
2225
- phpenv config-rm xdebug.ini || true
2326

2427
install:
28+
- composer require symfony/http-foundation:$SYMFONY_VERSION symfony/http-kernel:$SYMFONY_VERSION symfony/config:$SYMFONY_VERSION symfony/dependency-injection:$SYMFONY_VERSION
2529
- make build
2630
script:
2731
- make test-technical

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
"phpunit/phpunit": "^6.0 || ^7.0",
4141
"matthiasnoback/symfony-dependency-injection-test": "^2.0 || ^3.0",
4242
"matthiasnoback/symfony-config-test": "^3.0 || ^4.0",
43-
"symfony/framework-bundle": "^3.4",
44-
"symfony/http-kernel": "^3.4",
45-
"symfony/routing": "^3.4",
43+
"symfony/framework-bundle": "^3.0 || ^4.0",
44+
"symfony/http-kernel": "^3.0 || ^4.0",
45+
"symfony/routing": "^3.0 || ^4.0",
4646
"yoanm/php-unit-extended": "~1.0"
4747
}
4848
}

0 commit comments

Comments
 (0)