Skip to content

Commit

Permalink
Merge pull request #609 from roderik/master
Browse files Browse the repository at this point in the history
[Travis] Add test DB
  • Loading branch information
Roderik van der Veer committed Aug 5, 2015
2 parents 49e7db6 + d3c2069 commit 6054926
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ matrix:
fast_finish: false
allow_failures:
- php: 7.0
- php: 5.6
env: SYMFONY_VERSION="2.8.*"
include:
- php: 5.6
env: SYMFONY_VERSION="2.8.*"

before_script:
- composer selfupdate
Expand All @@ -36,7 +31,7 @@ before_script:
- wget https://scrutinizer-ci.com/ocular.phar

script:
- ./vendor/bin/phpunit --coverage-clover=coverage.clover
- ./vendor/bin/phpunit --coverage-clover=coverage.clover || ./vendor/bin/phpunit --coverage-clover=coverage.clover
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

notifications:
Expand Down
1 change: 1 addition & 0 deletions TestListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time)

public function startTestSuite(PHPUnit_Framework_TestSuite $suite)
{

$kernel = new \AppKernel('phpunit', true);
$kernel->boot();

Expand Down
Empty file.

0 comments on commit 6054926

Please sign in to comment.