Skip to content

Commit f67ad09

Browse files
committed
Require phpunit bridge
1 parent 2f86487 commit f67ad09

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cache:
88

99
env:
1010
global:
11-
- TEST_COMMAND="./vendor/bin/simple-phpunit"
11+
- TEST_COMMAND="composer test"
1212

1313
branches:
1414
except:
@@ -44,7 +44,6 @@ matrix:
4444
env: DEPENDENCIES="dev"
4545

4646
before_install:
47-
- composer require --no-update "symfony/phpunit-bridge:^3.3 || ^4"
4847
- if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi
4948
- if [ "$DEPENDENCIES" = "minimum" ]; then COMPOSER_FLAGS="--prefer-stable --prefer-lowest"; fi;
5049
- if [ "$DEPENDENCIES" = "dev" ]; then composer config minimum-stability dev; fi;

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"php-http/react-adapter": "^0.2.1",
4242
"php-http/buzz-adapter": "^0.3",
4343
"php-http/mock-client": "^1.0",
44-
"symfony/phpunit-bridge": "^3.2",
44+
"symfony/phpunit-bridge": "^3.3 || ^4.0",
4545
"symfony/twig-bundle": "^2.8 || ^3.0",
4646
"symfony/twig-bridge": "^2.8 || ^3.0",
4747
"symfony/web-profiler-bundle": "^2.8 || ^3.0",
@@ -69,8 +69,8 @@
6969
]
7070
},
7171
"scripts": {
72-
"test": "vendor/bin/phpunit",
73-
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
72+
"test": "vendor/bin/simple-phpunit",
73+
"test-ci": "vendor/bin/simple-phpunit --coverage-text --coverage-clover=build/coverage.xml"
7474
},
7575
"extra": {
7676
"branch-alias": {

0 commit comments

Comments
 (0)