Skip to content

Commit

Permalink
classloader のテストを分割して実行するよう修正
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Jun 24, 2019
1 parent 7da0baa commit 023818b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ before_script:

script:
- mkdir -p reports/coverage
- if [ ! $COVERAGE ] ; then php data/vendor/bin/phpunit -c phpunit.xml.dist ; fi
- if [ $COVERAGE ] ; then phpdbg -qrr data/vendor/bin/phpunit -c phpunit.xml.dist ; fi
- if [ ! $COVERAGE ] ; then php data/vendor/bin/phpunit -c phpunit.xml.dist --exclude-group classloader ; fi
- if [ ! $COVERAGE ] ; then php data/vendor/bin/phpunit -c phpunit.xml.dist --group classloader ; fi
- if [ $COVERAGE ] ; then phpdbg -qrr data/vendor/bin/phpunit -c phpunit.xml.dist --exclude-group classloader ; fi
- if [ ! $COVERAGE ] ; then php data/vendor/bin/codecept run --env chrome --steps ; fi

after_script:
Expand Down
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,5 @@ before_test:
- bash eccube_install.sh mysql

test_script:
- data/vendor/bin/phpunit
- data/vendor/bin/phpunit --exclude-group classloader
- data/vendor/bin/phpunit --group classloader
3 changes: 3 additions & 0 deletions tests/class/plugin/LoadClassFileChangeTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<?php

/**
* @group classloader
*/
class LoadClassFileChangeTest extends Common_TestCase
{
protected function setUp()
Expand Down

0 comments on commit 023818b

Please sign in to comment.