Skip to content

Commit ea25858

Browse files
committed
Update Travis matrix build & bump up Composer dependencies
1 parent cf5f61b commit ea25858

File tree

2 files changed

+14
-30
lines changed

2 files changed

+14
-30
lines changed

.travis.yml

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,33 +15,20 @@ matrix:
1515
include:
1616
- php: 5.3
1717
env: deps="low"
18-
- php: 5.6
19-
env: SYMFONY_DI_VERSION=2.3.* PHPUNIT_VERSION=~3.7
20-
- php: 5.6
21-
env: SYMFONY_DI_VERSION=2.0.* SYMFONY_YAML_VERSION=2.7.* PHPUNIT_VERSION=~4.0
22-
- php: 5.6
23-
env: SYMFONY_DI_VERSION=2.1.* SYMFONY_YAML_VERSION=2.7.* PHPUNIT_VERSION=~4.0
24-
- php: 5.6
25-
env: SYMFONY_DI_VERSION=2.2.* SYMFONY_YAML_VERSION=2.7.* PHPUNIT_VERSION=~4.0
26-
- php: 5.6
27-
env: SYMFONY_DI_VERSION=2.3.* PHPUNIT_VERSION=~4.0
28-
- php: 5.6
29-
env: SYMFONY_DI_VERSION=2.4.* PHPUNIT_VERSION=~4.0
30-
- php: 5.6
31-
env: SYMFONY_DI_VERSION=2.6.* PHPUNIT_VERSION=~4.0
32-
- php: 5.6
33-
env: SYMFONY_DI_VERSION=2.7.* PHPUNIT_VERSION=~4.0
34-
- php: 5.6
35-
env: SYMFONY_DI_VERSION=2.8.* PHPUNIT_VERSION=~4.0
36-
- php: 5.6
37-
env: SYMFONY_DI_VERSION=3.0.* PHPUNIT_VERSION=~4.0
18+
- php: 7.0
19+
env: SYMFONY_DI_VERSION=2.3.*
20+
- php: 7.0
21+
env: SYMFONY_DI_VERSION=2.7.*
22+
- php: 7.0
23+
env: SYMFONY_DI_VERSION=2.8.*
24+
- php: 7.0
25+
env: SYMFONY_DI_VERSION=3.0.*
3826
allow_failures:
3927
- php: hhvm
4028

4129
before_script:
4230
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpenv config-rm xdebug.ini; fi
4331
- if [ "$SYMFONY_DI_VERSION" != "" ]; then composer require --no-update "symfony/dependency-injection:${SYMFONY_DI_VERSION}"; fi
44-
- if [ "$SYMFONY_YAML_VERSION" != "" ]; then composer require --no-update "symfony/yaml:${SYMFONY_YAML_VERSION}"; fi
4532
- if [ "$PHPUNIT_VERSION" != "" ]; then composer require --no-update "phpunit/phpunit:${PHPUNIT_VERSION}"; fi
4633
- if [ "$deps" = "low" ]; then composer update --prefer-lowest; fi
4734
- if [ "$deps" = "" ]; then composer install; fi

composer.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,13 @@
1313
}
1414
],
1515
"require": {
16-
"matthiasnoback/symfony-config-test": "0.*|~1.0",
17-
"symfony/dependency-injection": "^2.0.5|~3.0",
18-
"symfony/config": "^2.0.5|~3.0",
19-
"sebastian/exporter": "~1"
16+
"matthiasnoback/symfony-config-test": "^1.0|^2.0",
17+
"phpunit/phpunit": "^4.0|^5.0",
18+
"symfony/dependency-injection": "^2.3|^3.0",
19+
"symfony/config": "^2.3|^3.0",
20+
"symfony/yaml": "^2.7|^3.0",
21+
"sebastian/exporter": "^1.0"
2022
},
21-
"require-dev": {
22-
"phpunit/phpunit": "~3.0|~4.0"
23-
},
24-
"minimum-stability": "dev",
25-
"prefer-stable": true,
2623
"autoload": {
2724
"psr-4" : { "Matthias\\SymfonyDependencyInjectionTest\\" : "" }
2825
}

0 commit comments

Comments
 (0)