Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test sf4 as tested by builder #8

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,19 @@ php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm
- 7

before_script:
- composer self-update
- composer install --prefer-source
- composer install --no-interaction --prefer-source
- composer require --dev phpunit/phpunit

script: phpunit --coverage-text
script:
- ./vendor/bin/phpunit --coverage-text

matrix:
allow_failures:
- php: hhvm
fast_finish: true
7 changes: 2 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,13 @@
],
"require": {
"php": ">=5.3.0",
"symfony/http-foundation": "~2.1|~3.0",
"symfony/http-kernel": "~2.1|~3.0"
"symfony/http-foundation": "~2.1|~3.0|~4.0",
"symfony/http-kernel": "~2.1|~3.0|~4.0"
},
"autoload": {
"psr-0": { "Stack": "src" }
},
"extra": {
"branch-alias": { "dev-master": "1.0-dev" }
},
"require-dev": {
"phpunit/phpunit": "^5.2"
}
}
2 changes: 1 addition & 1 deletion tests/functional/BasicTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;

class BasicTest extends \PHPUnit_Framework_TestCase
class BasicTest extends \PHPUnit\Framework\TestCase
{
/** @dataProvider provideRequests */
public function testHelloWorld(Request $request)
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Stack/CallableHttpKernelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\HttpKernelInterface;

class CallableHttpKernelTest extends \PHPUnit_Framework_TestCase
class CallableHttpKernelTest extends \PHPUnit\Framework\TestCase
{
/** @test */
public function handleShouldDelegateToCallable()
Expand Down