File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 66 - 5.6
77 - 7.0
88 - 7.1
9+ - 7.2
10+ - 7.3
911
1012env :
1113 - DRIVER=mysqli SEARCH_BUILD=SPHINX2 EXCLUDE_GROUP="--exclude-group=Manticore"
@@ -27,9 +29,12 @@ before_install:
2729 - $TRAVIS_BUILD_DIR/tests/install.sh
2830 - popd
2931
32+ install : composer update --prefer-dist --no-interaction
33+
3034before_script :
3135 - composer dump-autoload
3236 - cd tests
3337 - $TRAVIS_BUILD_DIR/tests/run.sh
38+ - cd ..
3439
35- script : phpunit --configuration travis/$DRIVER.phpunit.xml --coverage-text $EXCLUDE_GROUP
40+ script : ./vendor/bin/ phpunit --configuration tests/ travis/$DRIVER.phpunit.xml --coverage-text $EXCLUDE_GROUP
Original file line number Diff line number Diff line change 1515 "php" : " ^5.6 || ^7.0"
1616 },
1717 "require-dev" : {
18- "phpunit/phpunit" : " 6.3.*"
18+ "phpunit/phpunit" : " ^5.7 || 6.3.*"
1919 },
2020 "autoload" : {
2121 "psr-4" : {
Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ class ConnectionTest extends \PHPUnit\Framework\TestCase
1111 */
1212 private $ connection = null ;
1313
14- public function setUp ()
14+ protected function setUp ()
1515 {
1616 $ this ->connection = TestUtil::getConnectionDriver ();
1717 $ this ->connection ->setParams (array ('host ' => '127.0.0.1 ' , 'port ' => 9307 ));
1818 }
1919
20- public function tearDown ()
20+ protected function tearDown ()
2121 {
2222 $ this ->connection = null ;
2323 }
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class HelperTest extends \PHPUnit\Framework\TestCase
1212 */
1313 public $ conn ;
1414
15- public function setUp ()
15+ protected function setUp ()
1616 {
1717 $ conn = TestUtil::getConnectionDriver ();
1818 $ conn ->setParam ('port ' , 9307 );
You can’t perform that action at this time.
0 commit comments