Skip to content

Commit 663f93e

Browse files
committed
Added test command
1 parent e930743 commit 663f93e

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ php:
1010
env:
1111
global:
1212
- TEST_COMMAND="composer test"
13-
- SYMFONY_VERSION=2.7.*
13+
- SYMFONY_VERSION=2.8.*
1414

1515
matrix:
16-
allow_failures:
17-
- php: 7.0
1816
fast_finish: true
1917
include:
2018
- php: 5.4

composer.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@
1414
"minimum-stability": "dev",
1515
"prefer-stable": true,
1616
"require": {
17+
"php": ">=5.4",
1718
"php-http/discovery": "^0.2.0",
1819
"php-http/client-implementation": "^1.0",
1920
"php-http/message-factory": "^0.2.0",
21+
"php-http/plugins": "dev-master",
2022
"symfony/framework-bundle": "^2.7|^3.0"
2123
},
2224
"require-dev": {
25+
"phpunit/phpunit": "^4.4",
2326
"symfony/symfony": "^2.7|^3.0",
24-
"php-http/guzzle6-adapter": "^0.2",
2527
"polishsymfonycommunity/symfony-mocker-container": "~1.0",
2628
"matthiasnoback/symfony-dependency-injection-test": "0.*"
2729
},
@@ -30,6 +32,10 @@
3032
"Http\\HttplugBundle\\": ""
3133
}
3234
},
35+
"scripts": {
36+
"test": "vendor/bin/phpunit",
37+
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
38+
},
3339
"extra": {
3440
"branch-alias": {
3541
"dev-master": "1.0-dev"

0 commit comments

Comments
 (0)